Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xcircuit.spec'], chrootPath='/var/lib/mock/f33-build-134938-41642/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580428800 Wrote: /builddir/build/SRPMS/xcircuit-3.10.12-4.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xcircuit.spec'], chrootPath='/var/lib/mock/f33-build-134938-41642/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580428800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4Hy911 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xcircuit-3.10.12 + /usr/bin/gzip -dc /builddir/build/SOURCES/xcircuit-3.10.12.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xcircuit-3.10.12 + /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 -p1 --fuzz=0 patching file svg.c Hunk #1 succeeded at 1133 (offset 25 lines). patching file tclxcircuit.c Hunk #2 succeeded at 7365 (offset 71 lines). Hunk #3 succeeded at 7451 (offset 71 lines). Hunk #4 succeeded at 7468 (offset 71 lines). + sed -i lib/tcl/tkcon.tcl -e 's|package require -exact|package require|' + autoreconf aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' 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:89: 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.HYxwf2 + umask 022 + cd /builddir/build/BUILD + cd xcircuit-3.10.12 + export WISH=/usr/bin/wish + WISH=/usr/bin/wish + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-tcl=/usr/lib64 --with-tk=/usr/lib64 checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-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.12/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/xcircuit-3.10.12/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe 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 riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking 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 riscv64-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 how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking size of void *... 8 checking size of unsigned int... 4 checking size of unsigned long... 8 checking size of unsigned long long... 8 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 ANSI C header files... (cached) yes checking for setenv... yes checking for putenv... yes checking for vfork... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes 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 X11/xpm.h usability... yes checking X11/xpm.h presence... yes checking for X11/xpm.h... yes checking for XpmCreateImageFromData in -lXpm... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-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 ghostscript/gdevdsp.h usability... yes checking ghostscript/gdevdsp.h presence... 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC + make -j4 Makefile:1023: warning: overriding recipe for target 'all-recursive' Makefile:599: warning: ignoring old recipe for target 'all-recursive' Makefile:1026: warning: overriding recipe for target 'install-recursive' Makefile:599: warning: ignoring old recipe for target 'install-recursive' make tcl make[1]: Entering directory '/builddir/build/BUILD/xcircuit-3.10.12' Makefile:1023: warning: overriding recipe for target 'all-recursive' Makefile:599: warning: ignoring old recipe for target 'all-recursive' Makefile:1026: warning: overriding recipe for target 'install-recursive' Makefile:599: 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.12' Makefile:1023: warning: overriding recipe for target 'all-recursive' Makefile:599: warning: ignoring old recipe for target 'all-recursive' Makefile:1026: warning: overriding recipe for target 'install-recursive' Makefile:599: 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 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -pedantic -Wall -Wextra -c -o events.o events.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o filelist.o filelist.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o files.o files.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:1126:65: note: in definition of macro 'xcAddEventHandler' 1126 | #define xcAddEventHandler(a,b,c,d,e) Tk_CreateEventHandler(a,b,d,e) | ^ files.c: In function 'importgraphic': files.c:1922:10: warning: unused variable 'spcfile' [-Wunused-variable] 1922 | FILE *spcfile; | ^~~~~~~ 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:1126:65: note: in definition of macro 'xcAddEventHandler' 1126 | #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:1126:65: note: in definition of macro 'xcAddEventHandler' 1126 | #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:1126:65: note: in definition of macro 'xcAddEventHandler' 1126 | #define xcAddEventHandler(a,b,c,d,e) Tk_CreateEventHandler(a,b,d,e) | ^ files.c: In function 'loadfile': files.c:2437:6: 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) { | ^~ filelist.c: In function 'genfilelist': filelist.c:784:33: warning: variable 'entertext' set but not used [-Wunused-but-set-variable] 784 | xcWidget listarea, lscroll, entertext; | ^~~~~~~~~ files.c: In function 'readlabel': files.c:2723:10: warning: unused variable 'cval' [-Wunused-variable] 2723 | int cval, cindex; | ^~~~ elements.c: In function 'wire_op': elements.c:2296:10: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 2296 | (xcEventHandler)trackwire, NULL); | ^ xcircuit.h:1127:67: note: in definition of macro 'xcRemoveEventHandler' 1127 | #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:3598:6: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 3598 | (xcEventHandler)trackelement, NULL); | ^ xcircuit.h:1126:65: note: in definition of macro 'xcAddEventHandler' 1126 | #define xcAddEventHandler(a,b,c,d,e) Tk_CreateEventHandler(a,b,d,e) | ^ events.c:3630:6: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 3630 | (xcEventHandler)trackelement, NULL); | ^ xcircuit.h:1126:65: note: in definition of macro 'xcAddEventHandler' 1126 | #define xcAddEventHandler(a,b,c,d,e) Tk_CreateEventHandler(a,b,d,e) | ^ events.c:3663:16: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 3663 | (xcEventHandler)trackelement, NULL); | ^ xcircuit.h:1126:65: note: in definition of macro 'xcAddEventHandler' 1126 | #define xcAddEventHandler(a,b,c,d,e) Tk_CreateEventHandler(a,b,d,e) | ^ events.c:3694:6: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 3694 | (xcEventHandler)trackarc, NULL); | ^ xcircuit.h:1126:65: note: in definition of macro 'xcAddEventHandler' 1126 | #define xcAddEventHandler(a,b,c,d,e) Tk_CreateEventHandler(a,b,d,e) | ^ files.c: In function 'objectread': files.c:4475:36: warning: use of 'h' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=] 4475 | 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:5171:10: warning: unused variable 'loctechnology' [-Wunused-variable] 5171 | char *loctechnology; | ^~~~~~~~~~~~~ files.c: In function 'savefile': files.c:5623:44: warning: format '%f' expects argument of type 'double', but argument 3 has type 'char *' [-Wformat=] 5623 | fprintf(ps, "%%%%Creator: XCircuit v%2.1f rev%d\n", PROG_VERSION, PROG_REVISION); | ~~~~^ | | | double | %2.1s files.c:5623:50: warning: format '%d' expects argument of type 'int', but argument 4 has type 'char *' [-Wformat=] 5623 | fprintf(ps, "%%%%Creator: XCircuit v%2.1f rev%d\n", PROG_VERSION, PROG_REVISION); | ~^ | | | int | %s files.c:5554:16: warning: unused variable 'j' [-Wunused-variable] 5554 | int findex, j; | ^ files.c:5548:64: warning: unused variable 'ascbuf' [-Wunused-variable] 5548 | char outname[150], temp[150], prologue[150], *fname, *fptr, ascbuf[6]; | ^~~~~~ files.c:5547:21: warning: unused variable 'enc' [-Wunused-variable] 5547 | FILE *ps, *pro, *enc; | ^~~ files.c: In function 'printRGBvalues': files.c:6000:8: warning: unused variable 'i' [-Wunused-variable] 6000 | int i; | ^ files.c: In function 'writesegment': files.c:6205:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 6205 | sprintf(_STR, ""); | ^~ files.c: In function 'printparams': files.c:6427:9: warning: unused variable 'deflt_expr' [-Wunused-variable] 6427 | char *deflt_expr = NULL; | ^~~~~~~~~~ files.c:6426:11: warning: unused variable 'nondefault' [-Wunused-variable] 6426 | Boolean nondefault = TRUE; | ^~~~~~~~~~ events.c: In function 'path_op': events.c:6027:4: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 6027 | (xcEventHandler)trackelement, NULL); | ^ xcircuit.h:1127:67: note: in definition of macro 'xcRemoveEventHandler' 1127 | #define xcRemoveEventHandler(a,b,c,d,e) Tk_DeleteEventHandler(a,b,d,e) | ^ events.c:6065:16: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 6065 | (xcEventHandler)trackbox, NULL); | ^ xcircuit.h:1127:67: note: in definition of macro 'xcRemoveEventHandler' 1127 | #define xcRemoveEventHandler(a,b,c,d,e) Tk_DeleteEventHandler(a,b,d,e) | ^ events.c:6146:20: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 6146 | (xcEventHandler)trackelement, NULL); | ^ xcircuit.h:1127:67: note: in definition of macro 'xcRemoveEventHandler' 1127 | #define xcRemoveEventHandler(a,b,c,d,e) Tk_DeleteEventHandler(a,b,d,e) | ^ events.c:6244:16: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 6244 | (xcEventHandler)trackarc, NULL); | ^ xcircuit.h:1127:67: note: in definition of macro 'xcRemoveEventHandler' 1127 | #define xcRemoveEventHandler(a,b,c,d,e) Tk_DeleteEventHandler(a,b,d,e) | ^ events.c:6334:14: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 6334 | (xcEventHandler)trackelement, NULL); | ^ xcircuit.h:1127:67: note: in definition of macro 'xcRemoveEventHandler' 1127 | #define xcRemoveEventHandler(a,b,c,d,e) Tk_DeleteEventHandler(a,b,d,e) | ^ 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:871, from filelist.c:6: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 150 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:6: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2408 | fgets(temp, 149, ps); | ^~~~~~~~~~~~~~~~~~~~ events.c: In function 'functiondispatch': events.c:2181:6: 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: | ^~~~ 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:12: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 3587 | fgets(temp, 149, ps); | ^~~~~~~~~~~~~~~~~~~~ files.c:3604:6: 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 */ | ^~~~~~~~~~~~~~~~~~~~ filelist.c: In function 'listfiles': filelist.c:444:24: 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 file included from /usr/include/stdio.h:871, from filelist.c:6: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 256) into a destination of size 250 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ files.c: In function 'getlib': files.c:1115:4: warning: 'savebutton' is used uninitialized in this function [-Wuninitialized] 1115 | popupprompt(button, "Enter library to load:", "\0", loadblib, savebutton, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1116 | "lps"); | ~~~~~~ files.c: In function 'getuserlib': files.c:1128:4: warning: 'savebutton' is used uninitialized in this function [-Wuninitialized] 1128 | popupprompt(button, "Enter library to load:", "\0", loadulib, savebutton, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1129 | "lps"); | ~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -pedantic -Wall -Wextra -c -o fontfile.o fontfile.c elements.c: In function 'updatepath': elements.c:1241:58: warning: 'cptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 1241 | addcycle(ngen, TOPOLY(ngen)->number - 1, cptr->flags & (EDITX | EDITY)); | ~~~~^~~~~~~ events.c: In function 'checkcycle': events.c:1253:11: warning: 'tmppt' may be used uninitialized in this function [-Wmaybe-uninitialized] 1253 | return tmppt; | ^~~~~ files.c: In function 'elemcompare': files.c:560:11: warning: 'bres' may be used uninitialized in this function [-Wmaybe-uninitialized] 560 | return bres; | ^~~~ events.c: In function 'printpos': events.c:2809:22: warning: 'lwid' may be used uninitialized in this function [-Wmaybe-uninitialized] 2809 | f2 = ((float)(lwid) * iscale * oscale) / 72.0; | ^~~~~~~~~~~~~ elements.c: In function 'join': elements.c:2117:32: warning: 'testpoint' may be used uninitialized in this function [-Wmaybe-uninitialized] 2117 | testpoint2->y = testpoint->y; | ~~~~~~~~~^~~ elements.c:2087:26: warning: 'polywidth' may be used uninitialized in this function [-Wmaybe-uninitialized] 2087 | (*newpoly)->width = polywidth; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ elements.c:2089:26: warning: 'polycolor' may be used uninitialized in this function [-Wmaybe-uninitialized] 2089 | (*newpoly)->color = polycolor; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ elements.c:2088:26: warning: 'polytype' may be used uninitialized in this function [-Wmaybe-uninitialized] 2088 | (*newpoly)->style = polytype; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ files.c: In function 'libopen': files.c:1275:25: warning: '__builtin___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:871, from files.c:6: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 151) into a destination of size 150 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ files.c:1278:28: 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 file included from /usr/include/stdio.h:871, from files.c:6: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 155) into a destination of size 150 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ files.c:1286:23: 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 file included from /usr/include/stdio.h:871, from files.c:6: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 175 bytes into a destination of size 150 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ files.c:1289:26: 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 file included from /usr/include/stdio.h:871, from files.c:6: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 30 and 179 bytes into a destination of size 150 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ events.c: In function 'pathclosepoint': events.c:3060:11: warning: 'rpoint' may be used uninitialized in this function [-Wmaybe-uninitialized] 3060 | return rpoint; | ^~~~~~ events.c: In function 'elementrescale': events.c:3363:7: warning: 'oldsize' may be used uninitialized in this function [-Wmaybe-uninitialized] 3363 | register_for_undo(XCF_Rescale, UNDO_MORE, areawin->topinstance, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3364 | SELTOGENERIC(selectobj), (double)oldsize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ files.c: In function 'readlabel': files.c:2639:11: warning: 'endptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 2639 | while (*segptr != '\0') { /* Look through all segments */ | ^~~~~~~ events.c: In function 'xc_lower': events.c:3839:12: warning: 'botidx' may be used uninitialized in this function [-Wmaybe-uninitialized] 3839 | (*botidx)--; | ~~~~~~~~~^~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o formats.o formats.c In file included from files.c:38: files.c: In function 'readparams': xcircuit.h:86:18: warning: 'arraysave' may be used uninitialized in this function [-Wmaybe-uninitialized] 86 | #define strdup Tcl_Strdup | ^~~~~~~~~~ files.c:2958:21: note: 'arraysave' was declared here 2958 | char *substrend, *arraysave; | ^~~~~~~~~ files.c:2979:17: warning: 'substrend' may be used uninitialized in this function [-Wmaybe-uninitialized] 2979 | *substrend = '\0'; | ~~~~~~~~~~~^~~~~~ files.c:3039:16: warning: 'objops' may be used uninitialized in this function [-Wmaybe-uninitialized] 3039 | newops->type = (newinst) ? objops->type : (u_char)XC_FLOAT; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ events.c: In function 'printname': events.c:4479:30: warning: '%d' directive writing between 1 and 6 bytes into a region of size 5 [-Wformat-overflow=] 4479 | sprintf(pagestr, " (p. %d)", areawin->page + 1); | ^~ events.c:4479:24: note: directive argument in the range [-32767, 32768] 4479 | sprintf(pagestr, " (p. %d)", areawin->page + 1); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:871, from events.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 8 and 13 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formats.c: In function 'loadlgf': formats.c:352:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 352 | for (lineptr = temp; *lineptr != '\n'; lineptr++); *lineptr = '\0'; | ^~~ formats.c:352:56: 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:8: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 409 | fgets(temp, 499, ps); | ^~~~~~~~~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o functions.o functions.c 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:871, from formats.c:6: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 154 bytes into a destination of size 150 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formats.c:74:22: warning: '.lfo' directive writing 4 bytes into a region of size between 1 and 150 [-Wformat-overflow=] 74 | sprintf(inname, "%s.lfo", _STR); | ^~~~ In file included from /usr/include/stdio.h:871, from formats.c:6: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 154 bytes into a destination of size 150 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formats.c:375:31: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] 375 | if (j < xobjs.numlibs || k < xobjs.userlibs[xobjs.numlibs - 1].number) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formats.c:398:37: warning: 'libobj' may be used uninitialized in this function [-Wmaybe-uninitialized] 398 | (*newinst)->bbox.lowerleft.x = (*libobj)->bbox.lowerleft.x; | ~^~~~~~~~ In file included from formats.c:24: xcircuit.h:83:19: warning: 'signets' may be used uninitialized in this function [-Wmaybe-uninitialized] 83 | #define free(a) Tcl_Free((char *)(a)) | ^~~~~~~~ formats.c:62:11: note: 'signets' was declared here 62 | short *signets; | ^~~~~~~ In file included from formats.c:24: xcircuit.h:83:19: warning: 'signals' may be used uninitialized in this function [-Wmaybe-uninitialized] 83 | #define free(a) Tcl_Free((char *)(a)) | ^~~~~~~~ formats.c:61:11: note: 'signals' was declared here 61 | char **signals; | ^~~~~~~ files.c: In function 'objectread': files.c:4420:9: warning: 'newgp' may be used uninitialized in this function [-Wmaybe-uninitialized] 4420 | if ((newgp != NULL) && (*newgp != NULL)) { | ^ files.c:4087:25: warning: 'newpath' may be used uninitialized in this function [-Wmaybe-uninitialized] 4087 | newepp->next = (*newpath)->passed; | ~^~~~~~~~~ functions.c: In function 'converttocurve': functions.c:419:11: warning: unused variable 'newselect' [-Wunused-variable] 419 | short *newselect; | ^~~~~~~~~ functions.c:415:16: warning: unused variable 'ggen' [-Wunused-variable] 415 | genericptr *ggen; | ^~~~ functions.c: In function 'manhattanize': functions.c:1198:12: warning: variable 'curpt' set but not used [-Wunused-but-set-variable] 1198 | XPoint *curpt, *bpt, *bbpt, *fpt, *ffpt; | ^~~~~ functions.c: In function 'UDrawX': functions.c:1988:4: warning: implicit declaration of function 'UDrawXAt'; did you mean 'UDrawX'? [-Wimplicit-function-declaration] 1988 | UDrawXAt(&wpt); | ^~~~~~~~ | UDrawX functions.c: In function 'UDoLatex': functions.c:2928:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=] 2928 | fprintf(f, "\\rotatebox{-%d}{", thislabel->rotation); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int double | %f gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o graphic.o graphic.c graphic.c: In function 'addnewimage': functions.c: In function 'findsplinemin': functions.c:371:24: warning: 'ival' may be used uninitialized in this function [-Wmaybe-uninitialized] 371 | tval = (float)(ival + 1) / (INTSEGS + 1); | ~~~~~~^~~~ 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:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 350 | else fgets(buf, 127, fg); | ^~~~~~~~~~~~~~~~~~~ graphic.c:362:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 362 | else fgets(buf, 127, fg); | ^~~~~~~~~~~~~~~~~~~ graphic.c:374:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 374 | else fgets(buf, 127, fg); | ^~~~~~~~~~~~~~~~~~~ graphic.c:386:9: 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:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 402 | fread(&r, 1, 1, fg); | ^~~~~~~~~~~~~~~~~~~ graphic.c:403:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 403 | fread(&g, 1, 1, fg); | ^~~~~~~~~~~~~~~~~~~ graphic.c:404:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 404 | fread(&b, 1, 1, fg); | ^~~~~~~~~~~~~~~~~~~ graphic.c:409:19: warning: 'iptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 409 | iptr->refcount++; | ~~~~~~~~~~~~~~^~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o keybindings.o keybindings.c 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 file included from /usr/include/stdio.h:871, from files.c:6: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 156 bytes into a destination of size 150 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ files.c: In function 'loadfile': files.c:2116:32: warning: '%s' directive writing up to 149 bytes into a region of size 80 [-Wformat-overflow=] 2116 | sprintf(topobject->name, "%s", _STR); | ^~ ~~~~ In file included from /usr/include/stdio.h:871, from files.c:6: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 1 and 150 bytes into a destination of size 80 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ events.c: In function 'nextpathcycle': events.c:1351:37: warning: 'curpt' may be used uninitialized in this function [-Wmaybe-uninitialized] 1351 | thisspline->ctrl[cycle].y == curpt->y) { | ~~~~~^~~ events.c: In function 'pathedit': events.c:3600:10: warning: 'savept' may be used uninitialized in this function [-Wmaybe-uninitialized] 3600 | printpos(savept->x, savept->y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ events.c:3565:9: warning: 'dist' may be used uninitialized in this function [-Wmaybe-uninitialized] 3565 | if (dist < mindist) { | ^ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o libraries.o libraries.c functions.c: In function 'UGetRescaleBox': functions.c:2237:21: warning: 'newscale' may be used uninitialized in this function [-Wmaybe-uninitialized] 2237 | float savescale, newscale; | ^~~~~~~~ files.c: In function 'printOneObject': files.c:6816:24: warning: 'img' may be used uninitialized in this function [-Wmaybe-uninitialized] 6816 | fptr = strrchr(img->filename, '/'); | ~~~^~~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o netlist.o netlist.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o ngspice.o ngspice.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--; | ^~~~~ In file included from netlist.c:47: netlist.c: In function 'select_invalidate_netlist': xcircuit.h:196:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ netlist.c:372:22: note: in expansion of macro 'TOPOLY' 372 | if (!nonnetwork(TOPOLY(&gptr))) | ^~~~~~ xcircuit.h:197:23: 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:23: 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 198 | #define TOOBJINST(a) (*((objinstptr *)(a))) | ~^~~~~~~~~~~~~~~~~~ netlist.c:380:11: note: in expansion of macro 'TOOBJINST' 380 | if ((TOOBJINST(&gptr))->thisobject->schemtype != NONETWORK) | ^~~~~~~~~ netlist.c: In function 'addportcall': netlist.c:2620:15: warning: variable 'cinst' set but not used [-Wunused-but-set-variable] 2620 | objinstptr cinst; | ^~~~~ netlist.c: In function 'ratsnest': netlist.c:3184:26: warning: variable 'sub_bus' set but not used [-Wunused-but-set-variable] 3184 | int i, netid, points, sub_bus, lbus; | ^~~~~~~ netlist.c: In function 'writehierarchy': netlist.c:4683:14: warning: variable 'portid' set but not used [-Wunused-but-set-variable] 4683 | int pnet, portid, length, plen, subnet, modlen; /* netid, (jdk) */ | ^~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libraries.c: In function 'composelib': libraries.c:935:11: warning: 'drawname' may be used uninitialized in this function [-Wmaybe-uninitialized] 935 | (*drawname)->position.x = xpos + (width >> 1); | ~^~~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o render.o render.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o selection.o selection.c netlist.c: In function 'promote_net': netlist.c:2065:15: warning: 'firstid' may be used uninitialized in this function [-Wmaybe-uninitialized] 2065 | 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 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o svg.o svg.c libraries.c: In function 'copycat': libraries.c:1432:32: warning: '__builtin___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:871, from libraries.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 81 bytes into a destination of size 80 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libraries.c:1542:4: warning: 'newobj' may be used uninitialized in this function [-Wmaybe-uninitialized] 1542 | addtoinstlist(USERLIB - LIBRARY, *newobj, FALSE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:33: warning: unused variable 'hheight' [-Wunused-variable] 977 | int locpos, cx, cy, hwidth, hheight; | ^~~~~~~ selection.c:977:25: warning: unused variable 'hwidth' [-Wunused-variable] 977 | int locpos, cx, cy, hwidth, hheight; | ^~~~~~ selection.c:977:21: warning: unused variable 'cy' [-Wunused-variable] 977 | int locpos, cx, cy, hwidth, hheight; | ^~ selection.c:977:17: 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; | ^~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -pedantic -Wall -Wextra -c -o text.o text.c netlist.c: In function 'mergenets': netlist.c:2371:11: warning: 'merged' may be used uninitialized in this function [-Wmaybe-uninitialized] 2371 | return merged; | ^~~~~~ selection.c: In function 'pathselect': selection.c:351:48: warning: 'newdist' may be used uninitialized in this function [-Wmaybe-uninitialized] 351 | if ((!(TOARC(curgen)->style & UNCLOSED)) && (newdist > sqrwirelim)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ selection.c: In function 'checkforcycles': selection.c:437:13: warning: 'cycptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 437 | if (cycptr->number != -1) | ~~~~~~^~~~~~~~ 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:10: 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; | ^~~~~~ selection.c: In function 'addcycle': selection.c:533:11: warning: 'pptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 533 | return pptr; | ^~~~ selection.c:520:17: warning: 'cycptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 520 | *cycptr = (pointselect *)realloc(*cycptr, text.c:560:14: warning: 'nonprinttex' defined but not used [-Wunused-variable] 560 | static char *nonprinttex[] = { | ^~~~~~~~~~~ selection.c: In function 'advancecycle': selection.c:685:8: warning: 'cycptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 685 | if (*cycptr == NULL) return; | ^~~~~~~ svg.c: In function 'svg_blendcolor': svg.c:108:18: warning: 'bred' may be used uninitialized in this function [-Wmaybe-uninitialized] 108 | bred = ((bred * amount) + (255 * (8 - amount))) >> 3; | ~~~~~~^~~~~~~~~ svg.c:109:22: warning: 'bgreen' may be used uninitialized in this function [-Wmaybe-uninitialized] 109 | bgreen = ((bgreen * amount) + (255 * (8 - amount))) >> 3; | ~~~~~~~~^~~~~~~~~ svg.c:110:20: warning: 'bblue' may be used uninitialized in this function [-Wmaybe-uninitialized] 110 | bblue = ((bblue * amount) + (255 * (8 - amount))) >> 3; | ~~~~~~~^~~~~~~~~ svg.c: In function 'svg_stroke': svg.c:153:3: warning: 'solidpart' may be used uninitialized in this function [-Wmaybe-uninitialized] 153 | fprintf(svgf, "style=\"stroke-dasharray:%d,%d\" ", solidpart, 4 * minwidth); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netlist.c: In function 'makelocalpins': netlist.c:2844:6: warning: 'locnet' may be used uninitialized in this function [-Wmaybe-uninitialized] 2844 | if (netnames->netid == locnet) | ^ netlist.c:2850:31: warning: 'locpin' may be used uninitialized in this function [-Wmaybe-uninitialized] 2850 | netnames->localpin = stringcopy(locpin); | ^~~~~~~~~~~~~~~~~~ netlist.c: In function 'pintonet': netlist.c:3113:26: warning: 'tmplist' may be used uninitialized in this function [-Wmaybe-uninitialized] 3113 | Genericlist netlist, *tmplist; | ^~~~~~~ selection.c: In function 'areaelement': selection.c:964:11: warning: 'selected' may be used uninitialized in this function [-Wmaybe-uninitialized] 964 | return selected; | ^~~~~~~~ svg.c: In function 'SVGDrawGraphic': svg.c:286:24: warning: 'img' may be used uninitialized in this function [-Wmaybe-uninitialized] 286 | strcpy(outname, img->filename); | ~~~^~~~~~~~~~ netlist.c: In function 'gennetlist': netlist.c:819:15: warning: 'netlist' may be used uninitialized in this function [-Wmaybe-uninitialized] 819 | mergenets(pschem, netlist, tmplist); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ text.c: In function 'charprint': text.c:586:9: warning: 'sc' may be used uninitialized in this function [-Wmaybe-uninitialized] 586 | sprintf(sout, "%c", sc); | ^~~~~~~~~~~~~~~~~~~~~~~ text.c: In function 'charprinttex': text.c:629:9: warning: 'sc' may be used uninitialized in this function [-Wmaybe-uninitialized] 629 | sprintf(sout, "%c", sc); | ^~~~~~~~~~~~~~~~~~~~~~~ svg.c: In function 'SVGDrawString': svg.c:972:35: warning: 'ffont' may be used uninitialized in this function [-Wmaybe-uninitialized] 972 | objectptr drawchar = fonts[ffont].encoding[(u_char)(*textptr)]; | ^ netlist.c: In function 'genprefixlist': netlist.c:3481:15: warning: 'cinst' may be used uninitialized in this function [-Wmaybe-uninitialized] 3481 | strptr = findtextinstring(":", &locpos, plabel->string, cinst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ text.c: In function 'break_up_bus': text.c:1102:33: warning: 'matched' may be used uninitialized in this function [-Wmaybe-uninitialized] 1102 | return (matched == 0) ? NULL : subnets; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ selection.c: In function 'selectarea': selection.c:975:12: warning: 'selected' may be used uninitialized in this function [-Wmaybe-uninitialized] 975 | Boolean selected; | ^~~~~~~~ text.c: In function 'stringcopyall': text.c:1305:11: warning: 'newtop' may be used uninitialized in this function [-Wmaybe-uninitialized] 1305 | return newtop; | ^~~~~~ text.c: In function 'stringcopyback': text.c:1407:11: warning: 'rettop' may be used uninitialized in this function [-Wmaybe-uninitialized] 1407 | return rettop; | ^~~~~~ text.c:1341:9: warning: 'need_free' may be used uninitialized in this function [-Wmaybe-uninitialized] 1341 | if (need_free) freelabel(curtop); | ^ text.c:1341:21: warning: 'curtop' may be used uninitialized in this function [-Wmaybe-uninitialized] 1341 | if (need_free) freelabel(curtop); | ^~~~~~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o undo.o undo.c text.c: In function 'ULength': text.c:1923:19: warning: 'tbreak.x' may be used uninitialized in this function [-Wmaybe-uninitialized] 1923 | tbreak.x -= tlinfo->padding[linenum]; | ^~ text.c:2086:36: warning: 'tbreak.y' may be used uninitialized in this function [-Wmaybe-uninitialized] 2086 | if ((xtotal > tbreak.x) && (retext.base <= tbreak.y)) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o tkSimple.o tkSimple.c text.c: In function 'UDrawString0': text.c:1721:41: warning: 'oldfont' may be used uninitialized in this function [-Wmaybe-uninitialized] 1721 | cairo_set_font_face(areawin->cr, fonts[oldfont].font_face); | ^ text.c:1813:9: warning: 'ffont' may be used uninitialized in this function [-Wmaybe-uninitialized] 1813 | UDrawCharString(textptr, end_sel, len, &newpoint, fstyle, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1814 | ffont, group, scolor, tmpscale); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ text.c:1813:9: warning: 'fstyle' may be used uninitialized in this function [-Wmaybe-uninitialized] netlist.c: In function 'ratsnest': netlist.c:3257:11: warning: 'newpoly' may be used uninitialized in this function [-Wmaybe-uninitialized] 3257 | poly_add_point(*newpoly, &portpos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 'joinlabels': text.c:129:4: warning: 'dest' may be used uninitialized in this function [-Wmaybe-uninitialized] 129 | UDrawString(dest, dest->color, areawin->topinstance); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ text.c:120:21: warning: 'endpart' may be used uninitialized in this function [-Wmaybe-uninitialized] 120 | endpart->nextpart = source->string; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ tkSimple.c: In function 'Tk_SimpleObjCmd': tkSimple.c:186:5: warning: 'new' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | Tk_SetClass(new, "Simple"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -pedantic -Wall -Wextra -c -o utf8encodings.o utf8encodings.c gcc -o menudep menudep.o 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:8: 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:1321:5: warning: cast between incompatible function types from 'int (*)(void)' to 'int (*)(void *, void *)' [-Wcast-function-type] 1321 | (int (*)(void*, void*)) gs_display_dummy, /* display_open */ | ^ cairo.c:1322:5: warning: cast between incompatible function types from 'int (*)(void)' to 'int (*)(void *, void *)' [-Wcast-function-type] 1322 | (int (*)(void*, void*)) gs_display_dummy, /* display_preclose */ | ^ cairo.c:1323:5: warning: cast between incompatible function types from 'int (*)(void)' to 'int (*)(void *, void *)' [-Wcast-function-type] 1323 | (int (*)(void*, void*)) gs_display_dummy, /* display_close */ | ^ cairo.c:1324:5: warning: cast between incompatible function types from 'int (*)(void)' to 'int (*)(void *, void *, int, int, int, unsigned int)' [-Wcast-function-type] 1324 | (int (*)(void*, void*, int, int, int, unsigned int)) gs_display_dummy, | ^ cairo.c:1327:5: warning: cast between incompatible function types from 'int (*)(void)' to 'int (*)(void *, void *)' [-Wcast-function-type] 1327 | (int (*)(void*, void*)) gs_display_dummy, /* display_sync */ | ^ netlist.c: In function 'updatenets': netlist.c:5417:32: warning: 'ssave' may be used uninitialized in this function [-Wmaybe-uninitialized] 5417 | areawin->selectlist = regen_selection(areawin->topinstance, ssave); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netlist.c:5415:7: warning: 'thisinst' may be used uninitialized in this function [-Wmaybe-uninitialized] 5415 | createnets(thisinst, quiet); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./menudep gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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=\"12\" -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 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o help.o help.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o parameter.o parameter.c cairo.c: In function 'UDrawCharString': cairo.c:871:7: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] 871 | cairo_line_to(areawin->cr, offset->x / tmpscale, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o rcfile.o rcfile.c In file included from parameter.c:32: parameter.c: In function 'indicateparams': xcircuit.h:199:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:353:28: note: in expansion of macro 'TOARC' 353 | UDrawCircle(&TOARC(&thiselem)->position, ops->which); | ^~~~~ xcircuit.h:197:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 197 | #define TOLABEL(a) (*((labelptr *)(a))) | ~^~~~~~~~~~~~~~~~ parameter.c:356:28: note: in expansion of macro 'TOLABEL' 356 | UDrawCircle(&TOLABEL(&thiselem)->position, ops->which); | ^~~~~~~ xcircuit.h:198:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 198 | #define TOOBJINST(a) (*((objinstptr *)(a))) | ~^~~~~~~~~~~~~~~~~~ parameter.c:359:28: note: in expansion of macro 'TOOBJINST' 359 | UDrawCircle(&TOOBJINST(&thiselem)->position, ops->which); | ^~~~~~~~~ xcircuit.h:196:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:362:27: note: in expansion of macro 'TOPOLY' 362 | UDrawCircle(TOPOLY(&thiselem)->points + k, ops->which); | ^~~~~~ xcircuit.h:200:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:365:28: note: in expansion of macro 'TOSPLINE' 365 | UDrawCircle(&TOSPLINE(&thiselem)->ctrl[k], ops->which); | ^~~~~~~~ parameter.c: In function 'exprsub': xcircuit.h:201:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:500:11: note: in expansion of macro 'TOPATH' 500 | pgen = TOPATH(&thiselem)->plist + epp->pdata.pathpt[0]; | ^~~~~~ xcircuit.h:196:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:510:12: note: in expansion of macro 'TOPOLY' 510 | setpt = TOPOLY(&thiselem)->points + k; | ^~~~~~ xcircuit.h:200:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:514:4: note: in expansion of macro 'TOSPLINE' 514 | TOSPLINE(&thiselem)->ctrl[k].x = ival; | ^~~~~~~~ xcircuit.h:201:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:521:11: note: in expansion of macro 'TOPATH' 521 | pgen = TOPATH(&thiselem)->plist + epp->pdata.pathpt[0]; | ^~~~~~ xcircuit.h:196:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:531:12: note: in expansion of macro 'TOPOLY' 531 | setpt = TOPOLY(&thiselem)->points + k; | ^~~~~~ xcircuit.h:200:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:535:4: note: in expansion of macro 'TOSPLINE' 535 | TOSPLINE(&thiselem)->ctrl[k].y = ival; | ^~~~~~~~ parameter.c: In function 'epsubstitute': xcircuit.h:201:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:649:15: note: in expansion of macro 'TOPATH' 649 | pgen = TOPATH(&thiselem)->plist; | ^~~~~~ xcircuit.h:201:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:657:20: note: in expansion of macro 'TOPATH' 657 | for (pgen = TOPATH(&thiselem)->plist; pgen < | ^~~~~~ xcircuit.h:201:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:658:5: note: in expansion of macro 'TOPATH' 658 | TOPATH(&thiselem)->plist + | ^~~~~~ xcircuit.h:201:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:659:5: note: in expansion of macro 'TOPATH' 659 | TOPATH(&thiselem)->parts; pgen++) { | ^~~~~~ xcircuit.h:201:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:675:15: note: in expansion of macro 'TOPATH' 675 | pgen = TOPATH(&thiselem)->plist + epp->pdata.pathpt[0]; | ^~~~~~ xcircuit.h:196:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:688:16: note: in expansion of macro 'TOPOLY' 688 | setpt = TOPOLY(&thiselem)->points; | ^~~~~~ xcircuit.h:196:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:690:24: note: in expansion of macro 'TOPOLY' 690 | for (i = 0; i < TOPOLY(&thiselem)->number; i++) { | ^~~~~~ xcircuit.h:196:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:691:12: note: in expansion of macro 'TOPOLY' 691 | setpt = TOPOLY(&thiselem)->points + i; | ^~~~~~ xcircuit.h:196:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:696:23: note: in expansion of macro 'TOPOLY' 696 | setpt = TOPOLY(&thiselem)->points + k; | ^~~~~~ xcircuit.h:200:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:702:18: note: in expansion of macro 'TOSPLINE' 702 | setpt = &(TOSPLINE(&thiselem)->ctrl[0]); | ^~~~~~~~ xcircuit.h:200:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:705:14: note: in expansion of macro 'TOSPLINE' 705 | setpt = &(TOSPLINE(&thiselem)->ctrl[i]); | ^~~~~~~~ xcircuit.h:200:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:710:8: note: in expansion of macro 'TOSPLINE' 710 | TOSPLINE(&thiselem)->ctrl[k].x = ival; | ^~~~~~~~ xcircuit.h:197:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 197 | #define TOLABEL(a) (*((labelptr *)(a))) | ~^~~~~~~~~~~~~~~~ parameter.c:715:5: note: in expansion of macro 'TOLABEL' 715 | TOLABEL(&thiselem)->position.x = ival; | ^~~~~~~ xcircuit.h:198:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 198 | #define TOOBJINST(a) (*((objinstptr *)(a))) | ~^~~~~~~~~~~~~~~~~~ parameter.c:718:5: note: in expansion of macro 'TOOBJINST' 718 | TOOBJINST(&thiselem)->position.x = ival; | ^~~~~~~~~ xcircuit.h:199:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:721:5: note: in expansion of macro 'TOARC' 721 | TOARC(&thiselem)->position.x = ival; | ^~~~~ xcircuit.h:201:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:730:15: note: in expansion of macro 'TOPATH' 730 | pgen = TOPATH(&thiselem)->plist; | ^~~~~~ xcircuit.h:201:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:738:20: note: in expansion of macro 'TOPATH' 738 | for (pgen = TOPATH(&thiselem)->plist; pgen < | ^~~~~~ xcircuit.h:201:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:739:5: note: in expansion of macro 'TOPATH' 739 | TOPATH(&thiselem)->plist + | ^~~~~~ xcircuit.h:201:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:740:5: note: in expansion of macro 'TOPATH' 740 | TOPATH(&thiselem)->parts; pgen++) { | ^~~~~~ xcircuit.h:201:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:756:15: note: in expansion of macro 'TOPATH' 756 | pgen = TOPATH(&thiselem)->plist + epp->pdata.pathpt[0]; | ^~~~~~ xcircuit.h:196:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:769:16: note: in expansion of macro 'TOPOLY' 769 | setpt = TOPOLY(&thiselem)->points; | ^~~~~~ xcircuit.h:196:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:771:24: note: in expansion of macro 'TOPOLY' 771 | for (i = 0; i < TOPOLY(&thiselem)->number; i++) { | ^~~~~~ xcircuit.h:196:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:772:12: note: in expansion of macro 'TOPOLY' 772 | setpt = TOPOLY(&thiselem)->points + i; | ^~~~~~ xcircuit.h:196:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:777:23: note: in expansion of macro 'TOPOLY' 777 | setpt = TOPOLY(&thiselem)->points + k; | ^~~~~~ xcircuit.h:200:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:783:18: note: in expansion of macro 'TOSPLINE' 783 | setpt = &(TOSPLINE(&thiselem)->ctrl[0]); | ^~~~~~~~ xcircuit.h:200:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:786:14: note: in expansion of macro 'TOSPLINE' 786 | setpt = &(TOSPLINE(&thiselem)->ctrl[i]); | ^~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o schema.o schema.c xcircuit.h:200:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:791:8: note: in expansion of macro 'TOSPLINE' 791 | TOSPLINE(&thiselem)->ctrl[k].y = ival; | ^~~~~~~~ xcircuit.h:197:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 197 | #define TOLABEL(a) (*((labelptr *)(a))) | ~^~~~~~~~~~~~~~~~ parameter.c:796:5: note: in expansion of macro 'TOLABEL' 796 | TOLABEL(&thiselem)->position.y = ival; | ^~~~~~~ xcircuit.h:198:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 198 | #define TOOBJINST(a) (*((objinstptr *)(a))) | ~^~~~~~~~~~~~~~~~~~ parameter.c:799:5: note: in expansion of macro 'TOOBJINST' 799 | TOOBJINST(&thiselem)->position.y = ival; | ^~~~~~~~~ xcircuit.h:199:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:802:5: note: in expansion of macro 'TOARC' 802 | TOARC(&thiselem)->position.y = ival; | ^~~~~ xcircuit.h:196:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:810:5: note: in expansion of macro 'TOPOLY' 810 | TOPOLY(&thiselem)->style = ival; | ^~~~~~ xcircuit.h:200:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:813:5: note: in expansion of macro 'TOSPLINE' 813 | TOSPLINE(&thiselem)->style = ival; | ^~~~~~~~ xcircuit.h:199:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:816:5: note: in expansion of macro 'TOARC' 816 | TOARC(&thiselem)->style = ival; | ^~~~~ xcircuit.h:201:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:819:5: note: in expansion of macro 'TOPATH' 819 | TOPATH(&thiselem)->style = ival; | ^~~~~~ xcircuit.h:197:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 197 | #define TOLABEL(a) (*((labelptr *)(a))) | ~^~~~~~~~~~~~~~~~ parameter.c:827:5: note: in expansion of macro 'TOLABEL' 827 | TOLABEL(&thiselem)->anchor = ival; | ^~~~~~~ xcircuit.h:199:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:835:5: note: in expansion of macro 'TOARC' 835 | TOARC(&thiselem)->angle1 = fval; | ^~~~~ xcircuit.h:199:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:844:5: note: in expansion of macro 'TOARC' 844 | TOARC(&thiselem)->angle1 = fval; | ^~~~~ xcircuit.h:199:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:853:5: note: in expansion of macro 'TOARC' 853 | TOARC(&thiselem)->radius = ival; | ^~~~~ xcircuit.h:199:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:854:5: note: in expansion of macro 'TOARC' 854 | TOARC(&thiselem)->yaxis = ival; | ^~~~~ xcircuit.h:199:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:863:5: note: in expansion of macro 'TOARC' 863 | TOARC(&thiselem)->yaxis = ival; | ^~~~~ xcircuit.h:197:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 197 | #define TOLABEL(a) (*((labelptr *)(a))) | ~^~~~~~~~~~~~~~~~ parameter.c:872:5: note: in expansion of macro 'TOLABEL' 872 | TOLABEL(&thiselem)->rotation = fval; | ^~~~~~~ xcircuit.h:198:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 198 | #define TOOBJINST(a) (*((objinstptr *)(a))) | ~^~~~~~~~~~~~~~~~~~ parameter.c:875:5: note: in expansion of macro 'TOOBJINST' 875 | TOOBJINST(&thiselem)->rotation = fval; | ^~~~~~~~~ xcircuit.h:197:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 197 | #define TOLABEL(a) (*((labelptr *)(a))) | ~^~~~~~~~~~~~~~~~ parameter.c:883:5: note: in expansion of macro 'TOLABEL' 883 | TOLABEL(&thiselem)->scale = fval; | ^~~~~~~ xcircuit.h:198:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 198 | #define TOOBJINST(a) (*((objinstptr *)(a))) | ~^~~~~~~~~~~~~~~~~~ parameter.c:886:5: note: in expansion of macro 'TOOBJINST' 886 | TOOBJINST(&thiselem)->scale = fval; | ^~~~~~~~~ xcircuit.h:196:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:894:5: note: in expansion of macro 'TOPOLY' 894 | TOPOLY(&thiselem)->width = fval; | ^~~~~~ xcircuit.h:200:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:897:5: note: in expansion of macro 'TOSPLINE' 897 | TOSPLINE(&thiselem)->width = fval; | ^~~~~~~~ xcircuit.h:199:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:900:5: note: in expansion of macro 'TOARC' 900 | TOARC(&thiselem)->width = fval; | ^~~~~ xcircuit.h:201:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:903:5: note: in expansion of macro 'TOPATH' 903 | TOPATH(&thiselem)->width = fval; | ^~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o tclxcircuit.o tclxcircuit.c parameter.c: In function 'unmakeparam': parameter.c:2373:14: warning: unused variable 'testop' [-Wunused-variable] 2373 | oparamptr testop; | ^~~~~~ menucalls.c: In function 'setwwidth': menucalls.c:559:13: warning: 'oldwidth' may be used uninitialized in this function [-Wmaybe-uninitialized] 559 | register_for_undo(XCF_Rescale, UNDO_MORE, areawin->topinstance, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 560 | SELTOGENERIC(osel), (double)oldwidth); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c: In function 'tcl_vprintf': tclxcircuit.c:147:19: warning: variable 'result' set but not used [-Wunused-but-set-variable] 147 | int i, nchars, result, escapes = 0; | ^~~~~~ menucalls.c: In function 'setallstylemarks': menucalls.c:902:18: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] 902 | sprintf(fstr, "%d", fillfactor); | ^~ menucalls.c:902:17: note: directive argument in the range [-2147483648, 99] 902 | sprintf(fstr, "%d", fillfactor); | ^~~~ In file included from /usr/include/stdio.h:871, from menucalls.c:9: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 12 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parameter.c: In function 'exprsub': parameter.c:503:16: warning: 'ival' may be used uninitialized in this function [-Wmaybe-uninitialized] 503 | setpt->x = ival; | ~~~~~~~~~^~~~~~ tclxcircuit.c: In function 'xctcl_doborder': tclxcircuit.c:4753:31: warning: variable 'rval' set but not used [-Wunused-but-set-variable] 4753 | int result, i, idx, value, rval = -1; | ^~~~ menucalls.c: In function 'setelementstyle': menucalls.c:1024:17: warning: 'estyle' may be used uninitialized in this function [-Wmaybe-uninitialized] 1024 | *estyle = newstyle; | ~~~~~~~~^~~~~~~~~~ schema.c: In function 'checkpagename': schema.c:197:35: warning: ':2' directive writing 2 bytes into a region of size between 1 and 80 [-Wformat-overflow=] 197 | sprintf(thispageobj->name, "%s:2", thispageobj->name); | ^~ In file included from /usr/include/stdio.h:871, from schema.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 82 bytes into a destination of size 80 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c: In function 'xctcl_promptsavepage': schema.c:208:7: warning: 'thispage' may be used uninitialized in this function [-Wmaybe-uninitialized] 208 | renamepage(thispage); | ^~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:7014:14: warning: variable 'pageobj' set but not used [-Wunused-but-set-variable] 7014 | objectptr pageobj; | ^~~~~~~ parameter.c: In function 'epsubstitute': parameter.c:819:30: warning: 'ival' may be used uninitialized in this function [-Wmaybe-uninitialized] 819 | TOPATH(&thiselem)->style = ival; schema.c: In function 'connectivity': schema.c:337:3: warning: 'snew' may be used uninitialized in this function [-Wmaybe-uninitialized] 337 | Tcl_SetObjResult(xcinterp, Tcl_NewStringObj(snew, strlen(snew))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c: In function 'defaultscript': tclxcircuit.c:8959:13: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 8959 | return; | ^~~~~~ tclxcircuit.c:8942:5: note: declared here 8942 | int defaultscript() | ^~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o xcircuit.o xcircuit.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o xtgui.o xtgui.c In file included from /usr/include/string.h:495, from tclxcircuit.c:14: In function 'strncpy', inlined from 'tcl_vprintf' at tclxcircuit.c:176:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 24 bytes from a string of length 127 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'tcl_vprintf' at tclxcircuit.c:191:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 24 bytes from a string of length 127 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xcircuit.c: In function 'findnearcolor': xcircuit.c:698:11: warning: 'minidx' may be used uninitialized in this function [-Wmaybe-uninitialized] 698 | return minidx; | ^~~~~~ xcircuit.c:691:7: warning: 'dist' may be used uninitialized in this function [-Wmaybe-uninitialized] 691 | if (dist > 750000) { | ^ tclxcircuit.c: In function 'xctcl_netlist': tclxcircuit.c:1801:6: warning: 'refptptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 1801 | UTransformbyCTM(&locctm, refptptr, &refpoint, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c: In function 'xctcl_rotate': tclxcircuit.c:2788:6: warning: 'listPtr' may be used uninitialized in this function [-Wmaybe-uninitialized] 2788 | Tcl_SetObjResult(interp, listPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c: In function 'getanchoring': tclxcircuit.c:3981:17: warning: 'rval' may be used uninitialized in this function [-Wmaybe-uninitialized] 3981 | return (rval & bitfield); | ~~~~~~^~~~~~~~~~~ tclxcircuit.c: In function 'xctcl_label': tclxcircuit.c:4450:9: warning: 'jval' may be used uninitialized in this function [-Wmaybe-uninitialized] 4450 | if (jval != value) | ^ tclxcircuit.c: In function 'xctcl_doborder': tclxcircuit.c:4896:17: warning: 'mask' may be used uninitialized in this function [-Wmaybe-uninitialized] 4896 | rval = setelementstyle((Tk_Window)clientData, (u_short)value, mask); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:4896:17: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] tclxcircuit.c:4832:11: warning: 'objPtr' may be used uninitialized in this function [-Wmaybe-uninitialized] 4832 | Tcl_ListObjAppendElement(interp, listPtr, objPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c: In function 'xctcl_instance': tclxcircuit.c:6007:12: warning: 'listPtr' may be used uninitialized in this function [-Wmaybe-uninitialized] 6007 | Tcl_SetObjResult(interp, listPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:5952:12: warning: 'listPtr' may be used uninitialized in this function [-Wmaybe-uninitialized] 5952 | Tcl_SetObjResult(interp, listPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:5906:12: warning: 'listPtr' may be used uninitialized in this function [-Wmaybe-uninitialized] 5906 | Tcl_SetObjResult(interp, listPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:5866:12: warning: 'listPtr' may be used uninitialized in this function [-Wmaybe-uninitialized] 5866 | Tcl_SetObjResult(interp, listPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:5768:12: warning: 'listPtr' may be used uninitialized in this function [-Wmaybe-uninitialized] 5768 | Tcl_SetObjResult(interp, listPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c: In function 'evaluate_raw': tclxcircuit.c:9084:31: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 9084 | snprintf(promoted, 12, "%g", ips->parameter.fvalue); | ^ In file included from /usr/include/stdio.h:871, from tclxcircuit.c:10: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 14 bytes into a destination of size 12 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tclxcircuit.c:30: xcircuit.h:83:19: warning: 'promoted' may be used uninitialized in this function [-Wmaybe-uninitialized] 83 | #define free(a) Tcl_Free((char *)(a)) | ^~~~~~~~ tclxcircuit.c:9014:20: note: 'promoted' was declared here 9014 | char psave, *promoted, *newexpr; | ^~~~~~~~ tclxcircuit.c: In function 'GetParameterValue': tclxcircuit.c:2847:13: warning: 'robj' may be used uninitialized in this function [-Wmaybe-uninitialized] 2847 | Tcl_Obj *robj; | ^~~~ tclxcircuit.c: In function 'xctcl_element': tclxcircuit.c:6106:6: warning: 'listPtr' may be used uninitialized in this function [-Wmaybe-uninitialized] 6106 | Tcl_ListObjAppendElement(interp, listPtr, objPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c: In function 'xctcl_config': tclxcircuit.c:6868:44: warning: 'curpage' may be used uninitialized in this function [-Wmaybe-uninitialized] 6868 | Tcl_NewIntObj((int)curpage->drawingscale.y)); | ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/string.h:495, from tclxcircuit.c:14: In function 'strncpy', inlined from 'W0vprintf' at tclxcircuit.c:10232:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c: In function 'W0vprintf': tclxcircuit.c:10224:14: note: length computed here 10224 | size = strlen(tstr); | ^~~~~~~~~~~~ tclxcircuit.c: In function 'xctcl_page': tclxcircuit.c:7958:9: warning: 'astr' may be used uninitialized in this function [-Wmaybe-uninitialized] 7958 | if (newstr == astr) free(astr); | ^ rm -f lib/tcl/xcircuit.so gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -fPIC -Wl,-soname,lib/tcl/xcircuit.so -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -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 -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: svg.o: in function `SVGCreateImages': /builddir/build/BUILD/xcircuit-3.10.12/svg.c:223: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/builddir/build/BUILD/xcircuit-3.10.12' make lib/tcl/xcircuit.sh make[2]: Entering directory '/builddir/build/BUILD/xcircuit-3.10.12' Makefile:1023: warning: overriding recipe for target 'all-recursive' Makefile:599: warning: ignoring old recipe for target 'all-recursive' Makefile:1026: warning: overriding recipe for target 'install-recursive' Makefile:599: 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/12/' \ -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.12' make lib/tcl/xcircuit.tcl make[2]: Entering directory '/builddir/build/BUILD/xcircuit-3.10.12' Makefile:1023: warning: overriding recipe for target 'all-recursive' Makefile:599: warning: ignoring old recipe for target 'all-recursive' Makefile:1026: warning: overriding recipe for target 'install-recursive' Makefile:599: 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.12' make xcircexec make[2]: Entering directory '/builddir/build/BUILD/xcircuit-3.10.12' Makefile:1023: warning: overriding recipe for target 'all-recursive' Makefile:599: warning: ignoring old recipe for target 'all-recursive' Makefile:1026: warning: overriding recipe for target 'install-recursive' Makefile:599: 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 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o xcircexec.o xcircexec.c rm -f ./xcircexec gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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=\"12\" -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 -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.12' make xcircdnull make[2]: Entering directory '/builddir/build/BUILD/xcircuit-3.10.12' Makefile:1023: warning: overriding recipe for target 'all-recursive' Makefile:599: warning: ignoring old recipe for target 'all-recursive' Makefile:1026: warning: overriding recipe for target 'install-recursive' Makefile:599: 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 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -c -o xcircdnull.o xcircdnull.c rm -f ./xcircdnull gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=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=\"12\" -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=\"12\" -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 -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.12' make[1]: Leaving directory '/builddir/build/BUILD/xcircuit-3.10.12' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qR11X0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64 + cd xcircuit-3.10.12 + make 'INSTALL=install -p' DESTDIR=/builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64 install Makefile:1023: warning: overriding recipe for target 'all-recursive' Makefile:599: warning: ignoring old recipe for target 'all-recursive' Makefile:1026: warning: overriding recipe for target 'install-recursive' Makefile:599: warning: ignoring old recipe for target 'install-recursive' make install-tcl make[1]: Entering directory '/builddir/build/BUILD/xcircuit-3.10.12' Makefile:1023: warning: overriding recipe for target 'all-recursive' Makefile:599: warning: ignoring old recipe for target 'all-recursive' Makefile:1026: warning: overriding recipe for target 'install-recursive' Makefile:599: 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.12' Makefile:1023: warning: overriding recipe for target 'all-recursive' Makefile:599: warning: ignoring old recipe for target 'all-recursive' Makefile:1026: warning: overriding recipe for target 'install-recursive' Makefile:599: 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.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/app-defaults mkdir /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr mkdir /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64 mkdir /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10 mkdir /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/app-defaults /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/man mkdir /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/man install -p -m 644 lib/XCircuit.ad /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/app-defaults/XCircuit install -p -m 644 lib/xcircuit.1 /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/man/xcircuit.1 Installing library and netlist files /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/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.12-4.fc33.riscv64/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.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10; \ done ) Installing .lps font files /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/fonts mkdir /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/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.12-4.fc33.riscv64/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.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/fonts; \ done Installing scripts (if option enabled) if test "" != ""; then \ /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/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.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/python; \ done; \ fi make[2]: Leaving directory '/builddir/build/BUILD/xcircuit-3.10.12' Installing Tcl files /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10 /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/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.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10; \ done ) install -p -m 644 xcircexec /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10 install -p -m 644 xcircdnull /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10 chmod 0755 /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/tkcon.tcl chmod 0755 /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/console.tcl chmod 0755 /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/xcircuit.so chmod 0755 /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/xcircexec chmod 0755 /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/xcircdnull if test ".so" != ".so"; then \ ( cd /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/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.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/pixmaps mkdir /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/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.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/pixmaps; \ done ) Installing shell script as xcircuit executable /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/bin mkdir /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/bin install -p -m 644 lib/tcl/xcircuit.sh /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/bin/xcircuit chmod 0755 /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/bin/xcircuit make[1]: Leaving directory '/builddir/build/BUILD/xcircuit-3.10.12' + make install-man mandir=/builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/share/man Makefile:1023: warning: overriding recipe for target 'all-recursive' Makefile:599: warning: ignoring old recipe for target 'all-recursive' Makefile:1026: warning: overriding recipe for target 'install-recursive' Makefile:599: warning: ignoring old recipe for target 'install-recursive' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/share/man/man1' /usr/bin/install -c -m 644 lib/xcircuit.1 '/builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/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.12-4.fc33.riscv64/usr/share/icons/hicolor/32x32/apps/ + install -cpm 0644 /builddir/build/SOURCES/xcircuit.png /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/share/icons/hicolor/32x32/apps/xcircuit.png + sed -i '7 a\export TCLLIBPATH=/usr/lib64' /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/bin/xcircuit + desktop-file-install --vendor '' --dir /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/share/applications /builddir/build/SOURCES/xcircuit.desktop + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.10.12-4.fc33 --unique-debug-suffix -3.10.12-4.fc33.riscv64 --unique-debug-src-base xcircuit-3.10.12-4.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/xcircuit-3.10.12 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/xcircexec explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/xcircdnull explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/xcircuit.so extracting debug info from /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/xcircexec extracting debug info from /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/xcircdnull extracting debug info from /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/lib64/xcircuit-3.10/xcircuit.so original debug info size: 2468kB, size after compression: 2220kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 3978 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/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink Processing files: xcircuit-3.10.12-4.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jOHDZ1 + umask 022 + cd /builddir/build/BUILD + cd xcircuit-3.10.12 + DOCDIR=/builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/share/doc/xcircuit + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/share/doc/xcircuit + cp -pr CHANGES /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/share/doc/xcircuit + cp -pr README README.CharEncoding README.Tcl README.ngspice README.notes /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/share/doc/xcircuit + cp -pr TODO /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/share/doc/xcircuit + cp -pr examples/ /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/share/doc/xcircuit + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.liobaZ + umask 022 + cd /builddir/build/BUILD + cd xcircuit-3.10.12 + LICENSEDIR=/builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/share/licenses/xcircuit + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/usr/share/licenses/xcircuit + cp -pr COPYRIGHT /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64/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.12-4.fc33 xcircuit(riscv-64) = 3.10.12-4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcairo.so.2()(64bit) libfontconfig.so.1()(64bit) libgs.so.9()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libtcl8.6.so()(64bit) libtk8.6.so()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: xcircuit-debugsource-3.10.12-4.fc33.riscv64 Provides: xcircuit-debugsource = 3.10.12-4.fc33 xcircuit-debugsource(riscv-64) = 3.10.12-4.fc33 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.12-4.fc33.riscv64 Provides: debuginfo(build-id) = 533ac5aa36a0e3298c96c860acb5cd1c8cf8f66f debuginfo(build-id) = 6915aceebdb3b0ecdd34444f59c1045d6be3a69c debuginfo(build-id) = af66136172ee31c3db156a0d158c302276653d09 xcircuit-debuginfo = 3.10.12-4.fc33 xcircuit-debuginfo(riscv-64) = 3.10.12-4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xcircuit-debugsource(riscv-64) = 3.10.12-4.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64 Wrote: /builddir/build/RPMS/xcircuit-debugsource-3.10.12-4.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/xcircuit-3.10.12-4.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/xcircuit-debuginfo-3.10.12-4.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.W8LFF0 + umask 022 + cd /builddir/build/BUILD + cd xcircuit-3.10.12 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xcircuit-3.10.12-4.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0