+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/magic.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.d9uZMC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf magic-8.2.39 + /usr/bin/mkdir -p magic-8.2.39 + cd magic-8.2.39 + /usr/bin/gzip -dc /builddir/build/SOURCES/magic-8.2.39.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd magic-8.2.39 + rm -rf readline + sed -i.cflags -e 's|CFLAGS=.*CFLAGS|:|' configure + sed -i 's|/usr/local/bin/tclsh|/usr/bin/tclsh|' tcltk/strip_reflibs.tcl + sed -i 's|package require -exact|package require|' tcltk/tkcon.tcl + echo 'Patch #0 (magic-verbose.patch):' Patch #0 (magic-verbose.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .verbose --fuzz=0 patching file Makefile + echo 'Patch #2 (magic-8.0.174-format-string.patch):' Patch #2 (magic-8.0.174-format-string.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .format --fuzz=0 patching file database/DBio.c Hunk #1 succeeded at 2198 (offset 86 lines). + echo 'Patch #1 (magic-7.4.35-64bit.patch):' Patch #1 (magic-7.4.35-64bit.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .64bit --fuzz=0 patching file tcltk/tkcon.tcl + sed -i scripts/configure -e 's| -lfontconfig -lfreetype||' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BrUPXk + umask 022 + cd /builddir/build/BUILD + cd magic-8.2.39 + export WISH=/usr/bin/wish + WISH=/usr/bin/wish + cd magic-8.2.39 + 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 ' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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 ./scripts/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./scripts/config.sub ++ basename ./scripts/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./scripts/config.sub '/usr/lib/rpm/redhat/config.sub' -> './scripts/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./scripts/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./scripts/config.guess ++ basename ./scripts/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./scripts/config.guess '/usr/lib/rpm/redhat/config.guess' -> './scripts/config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-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 --with-tcllibs=/usr/lib64 --with-tklibs=/usr/lib64 configure: WARNING: unrecognized options: --disable-dependency-tracking 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 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 how to run the C preprocessor... gcc -E checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for library containing strerror... none required checking for a BSD-compatible install... /usr/bin/install -c 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 python3... /usr/bin/python3 checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes 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 whether byte ordering is bigendian... no checking for ANSI C header files... (cached) yes checking for setenv... yes checking for putenv... yes checking for vfork... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking param.h usability... no checking param.h presence... no checking for param.h... no checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking for va_copy... yes checking for __va_copy... yes checking for built-in roundf... yes checking for built-in round... yes checking for gcore... no checking for csh... /usr/bin/csh 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 XOpenDevice in -lXi... yes checking for XmuInternAtom in -lXmu... yes checking for XextFindDisplay in -lXext... 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 tclsh executable... /usr/bin/tclsh checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking for glXCreateContext in -lGL... yes checking for gluNewTess in -lGLU... yes checking cairo/cairo.h usability... yes checking cairo/cairo.h presence... yes checking for cairo/cairo.h... yes checking for cairo_user_to_device in -lcairo... yes configure: creating ./config.status config.status: creating defs.mak config.status: WARNING: 'defs.mak.in' seems to ignore the --datarootdir setting configure: WARNING: unrecognized options: --disable-dependency-tracking ----------------------------------------------------------- Configuration Summary (principle requirements): X11: yes OpenGL: yes Vector fonts: yes Cairo: yes Tcl/Tk: yes ----------------------------------------------------------- Use 'make' to compile and 'make install' to install. Errors may not be printed to stdout: see files 'make.log' and 'install.log' for complete error summary. ----------------------------------------------------------- + make -j1 make[1]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39' --- making header file database/database.h ./scripts/makedbh database/database.h.in database/database.h --- making modules for dir in cmwind commands database dbwind debug drc extflat extract graphics netmenu plow resis select sim textio tiles utils windows wiring ext2sim ext2spice calma cif plot lef garouter grouter irouter mzrouter router gcr tcltk magic net2ir tcltk; do \ (cd $dir && make module); done make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/cmwind' --- compiling cmwind/CMWmain.o rm -f CMWmain.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CMWmain.c CMWmain.c:93:1: warning: missing braces around initializer [-Wmissing-braces] { ^ "Red", CB_RED, STYLE_RED, {2000, 8000, 10000, 9000}, { { } { } CMWmain.c:93:1: warning: missing braces around initializer [-Wmissing-braces] { ^ "Red", CB_RED, STYLE_RED, {2000, 8000, 10000, 9000}, { { } { } {2000, 9500, 10000, 10500}, { } { } CMWmain.c:93:1: warning: missing braces around initializer [-Wmissing-braces] { ^ "Red", CB_RED, STYLE_RED, {2000, 8000, 10000, 9000}, { { } { } {2000, 9500, 10000, 10500}, { } { }} "Green", CB_GREEN, STYLE_GREEN, {2000, 5000, 10000, 6000}, { { } { } CMWmain.c:93:1: warning: missing braces around initializer [-Wmissing-braces] { ^ "Red", CB_RED, STYLE_RED, {2000, 8000, 10000, 9000}, { { } { } {2000, 9500, 10000, 10500}, { } { }} "Green", CB_GREEN, STYLE_GREEN, {2000, 5000, 10000, 6000}, { { } { } {2000, 6500, 10000, 7500}, { } { } CMWmain.c:93:1: warning: missing braces around initializer [-Wmissing-braces] { ^ "Red", CB_RED, STYLE_RED, {2000, 8000, 10000, 9000}, { { } { } {2000, 9500, 10000, 10500}, { } { }} "Green", CB_GREEN, STYLE_GREEN, {2000, 5000, 10000, 6000}, { { } { } {2000, 6500, 10000, 7500}, { } { }} "Blue", CB_BLUE, STYLE_BLUE, {2000, 2000, 10000, 3000}, { { } { } CMWmain.c:93:1: warning: missing braces around initializer [-Wmissing-braces] { ^ "Red", CB_RED, STYLE_RED, {2000, 8000, 10000, 9000}, { { } { } {2000, 9500, 10000, 10500}, { } { }} "Green", CB_GREEN, STYLE_GREEN, {2000, 5000, 10000, 6000}, { { } { } {2000, 6500, 10000, 7500}, { } { }} "Blue", CB_BLUE, STYLE_BLUE, {2000, 2000, 10000, 3000}, { { } { } {2000, 3500, 10000, 4500}, { } { } CMWmain.c:93:1: warning: missing braces around initializer [-Wmissing-braces] { ^ "Red", CB_RED, STYLE_RED, {2000, 8000, 10000, 9000}, { { } { } {2000, 9500, 10000, 10500}, { } { }} "Green", CB_GREEN, STYLE_GREEN, {2000, 5000, 10000, 6000}, { { } { } {2000, 6500, 10000, 7500}, { } { }} "Blue", CB_BLUE, STYLE_BLUE, {2000, 2000, 10000, 3000}, { { } { } {2000, 3500, 10000, 4500}, { } { }} "Hue", CB_HUE, STYLE_YELLOW, {14000, 8000, 22000, 9000}, { { } { } CMWmain.c:93:1: warning: missing braces around initializer [-Wmissing-braces] { ^ "Red", CB_RED, STYLE_RED, {2000, 8000, 10000, 9000}, { { } { } {2000, 9500, 10000, 10500}, { } { }} "Green", CB_GREEN, STYLE_GREEN, {2000, 5000, 10000, 6000}, { { } { } {2000, 6500, 10000, 7500}, { } { }} "Blue", CB_BLUE, STYLE_BLUE, {2000, 2000, 10000, 3000}, { { } { } {2000, 3500, 10000, 4500}, { } { }} "Hue", CB_HUE, STYLE_YELLOW, {14000, 8000, 22000, 9000}, { { } { } {14000, 9500, 22000, 10500}, { } { } CMWmain.c:93:1: warning: missing braces around initializer [-Wmissing-braces] { ^ "Red", CB_RED, STYLE_RED, {2000, 8000, 10000, 9000}, { { } { } {2000, 9500, 10000, 10500}, { } { }} "Green", CB_GREEN, STYLE_GREEN, {2000, 5000, 10000, 6000}, { { } { } {2000, 6500, 10000, 7500}, { } { }} "Blue", CB_BLUE, STYLE_BLUE, {2000, 2000, 10000, 3000}, { { } { } {2000, 3500, 10000, 4500}, { } { }} "Hue", CB_HUE, STYLE_YELLOW, {14000, 8000, 22000, 9000}, { { } { } {14000, 9500, 22000, 10500}, { } { }} "Saturation", CB_SAT, STYLE_GRAY, {14000, 5000, 22000, 6000}, { { } { } CMWmain.c:93:1: warning: missing braces around initializer [-Wmissing-braces] { ^ "Red", CB_RED, STYLE_RED, {2000, 8000, 10000, 9000}, { { } { } {2000, 9500, 10000, 10500}, { } { }} "Green", CB_GREEN, STYLE_GREEN, {2000, 5000, 10000, 6000}, { { } { } {2000, 6500, 10000, 7500}, { } { }} "Blue", CB_BLUE, STYLE_BLUE, {2000, 2000, 10000, 3000}, { { } { } {2000, 3500, 10000, 4500}, { } { }} "Hue", CB_HUE, STYLE_YELLOW, {14000, 8000, 22000, 9000}, { { } { } {14000, 9500, 22000, 10500}, { } { }} "Saturation", CB_SAT, STYLE_GRAY, {14000, 5000, 22000, 6000}, { { } { } {14000, 6500, 22000, 7500}, { } { } CMWmain.c:93:1: warning: missing braces around initializer [-Wmissing-braces] { ^ "Red", CB_RED, STYLE_RED, {2000, 8000, 10000, 9000}, { { } { } {2000, 9500, 10000, 10500}, { } { }} "Green", CB_GREEN, STYLE_GREEN, {2000, 5000, 10000, 6000}, { { } { } {2000, 6500, 10000, 7500}, { } { }} "Blue", CB_BLUE, STYLE_BLUE, {2000, 2000, 10000, 3000}, { { } { } {2000, 3500, 10000, 4500}, { } { }} "Hue", CB_HUE, STYLE_YELLOW, {14000, 8000, 22000, 9000}, { { } { } {14000, 9500, 22000, 10500}, { } { }} "Saturation", CB_SAT, STYLE_GRAY, {14000, 5000, 22000, 6000}, { { } { } {14000, 6500, 22000, 7500}, { } { }} "Value", CB_VALUE, STYLE_BROWN1, {14000, 2000, 22000, 3000}, { { } { } CMWmain.c:93:1: warning: missing braces around initializer [-Wmissing-braces] { ^ "Red", CB_RED, STYLE_RED, {2000, 8000, 10000, 9000}, { { } { } {2000, 9500, 10000, 10500}, { } { }} "Green", CB_GREEN, STYLE_GREEN, {2000, 5000, 10000, 6000}, { { } { } {2000, 6500, 10000, 7500}, { } { }} "Blue", CB_BLUE, STYLE_BLUE, {2000, 2000, 10000, 3000}, { { } { } {2000, 3500, 10000, 4500}, { } { }} "Hue", CB_HUE, STYLE_YELLOW, {14000, 8000, 22000, 9000}, { { } { } {14000, 9500, 22000, 10500}, { } { }} "Saturation", CB_SAT, STYLE_GRAY, {14000, 5000, 22000, 6000}, { { } { } {14000, 6500, 22000, 7500}, { } { }} "Value", CB_VALUE, STYLE_BROWN1, {14000, 2000, 22000, 3000}, { { } { } {14000, 3500, 22000, 4500}, { } { } CMWmain.c:93:1: warning: missing braces around initializer [-Wmissing-braces] { ^ "Red", CB_RED, STYLE_RED, {2000, 8000, 10000, 9000}, { { } { } {2000, 9500, 10000, 10500}, { } { }} "Green", CB_GREEN, STYLE_GREEN, {2000, 5000, 10000, 6000}, { { } { } {2000, 6500, 10000, 7500}, { } { }} "Blue", CB_BLUE, STYLE_BLUE, {2000, 2000, 10000, 3000}, { { } { } {2000, 3500, 10000, 4500}, { } { }} "Hue", CB_HUE, STYLE_YELLOW, {14000, 8000, 22000, 9000}, { { } { } {14000, 9500, 22000, 10500}, { } { }} "Saturation", CB_SAT, STYLE_GRAY, {14000, 5000, 22000, 6000}, { { } { } {14000, 6500, 22000, 7500}, { } { }} "Value", CB_VALUE, STYLE_BROWN1, {14000, 2000, 22000, 3000}, { { } { } {14000, 3500, 22000, 4500}, { } { }} 0 { }; } CMWmain.c:110:1: warning: missing braces around initializer [-Wmissing-braces] { ^ CMWmain.c:110:1: warning: missing braces around initializer [-Wmissing-braces] CMWmain.c:110:1: warning: missing braces around initializer [-Wmissing-braces] CMWmain.c:110:1: warning: missing braces around initializer [-Wmissing-braces] CMWmain.c:110:1: warning: missing braces around initializer [-Wmissing-braces] CMWmain.c:110:1: warning: missing braces around initializer [-Wmissing-braces] CMWmain.c:110:1: warning: missing braces around initializer [-Wmissing-braces] CMWmain.c:110:1: warning: missing braces around initializer [-Wmissing-braces] CMWmain.c:110:1: warning: missing braces around initializer [-Wmissing-braces] CMWmain.c:110:1: warning: missing braces around initializer [-Wmissing-braces] CMWmain.c:110:1: warning: missing braces around initializer [-Wmissing-braces] CMWmain.c:110:1: warning: missing braces around initializer [-Wmissing-braces] CMWmain.c:110:1: warning: missing braces around initializer [-Wmissing-braces] --- compiling cmwind/CMWcmmnds.o rm -f CMWcmmnds.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CMWcmmnds.c --- compiling cmwind/CMWundo.o rm -f CMWundo.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CMWundo.c --- compiling cmwind/CMWrgbhsv.o rm -f CMWrgbhsv.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CMWrgbhsv.c --- linking libcmwind.o rm -f libcmwind.o ld -r CMWmain.o CMWcmmnds.o CMWundo.o CMWrgbhsv.o -o libcmwind.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/cmwind' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/commands' /bin/sh: line 1: cd: ../readline: No such file or directory --- compiling commands/CmdSubrs.o rm -f CmdSubrs.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CmdSubrs.c CmdSubrs.c: In function 'CmdParseLayers': CmdSubrs.c:382:5: warning: missing braces around initializer [-Wmissing-braces] { ^ "$", LN_DOLLAR, { } "*", LN_ALL, { } "errors", LN_ERRORS, { } "labels", LN_LABELS, { } "subcell", LN_CELL, { } "connect", LN_CONNECT, { } 0, { }; } CmdSubrs.c:394:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *s++) ^ CmdSubrs.c:418:9: warning: implicit declaration of function 'DBTechNameTypes'; did you mean 'DBTechNameType'? [-Wimplicit-function-declaration] type = DBTechNameTypes(name, &newmask); ^~~~~~~~~~~~~~~ DBTechNameType CmdSubrs.c: In function 'cmdCheckNewName': CmdSubrs.c:726:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (f = PaOpen(newName, "r", DBSuffix, ".", (char *) NULL, &filename)) ^ --- compiling commands/CmdAB.o rm -f CmdAB.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CmdAB.c CmdAB.c: In function 'CmdAddPath': CmdAB.c:81:5: warning: implicit declaration of function 'PaAppend'; did you mean 'PaOpen'? [-Wimplicit-function-declaration] PaAppend(&Path, cmd->tx_argv[1]); ^~~~~~~~ PaOpen CmdAB.c: In function 'CmdArray': CmdAB.c:468:1: warning: label 'freelist' defined but not used [-Wunused-label] freelist: ^~~~~~~~ CmdAB.c:153:15: warning: variable 'yval' set but not used [-Wunused-but-set-variable] int xval, yval; ^~~~ CmdAB.c:153:9: warning: variable 'xval' set but not used [-Wunused-but-set-variable] int xval, yval; ^~~~ CmdAB.c: In function 'CmdBox': CmdAB.c:717:17: warning: implicit declaration of function 'cmdParseCoord'; did you mean 'XParseColor'? [-Wimplicit-function-declaration] r.r_xbot = cmdParseCoord(w, cmd->tx_argv[argc - 4], FALSE, TRUE); ^~~~~~~~~~~~~ XParseColor CmdAB.c:1071:22: warning: 'distancey' may be used uninitialized in this function [-Wmaybe-uninitialized] boxptr->r_ybot += distancey; ^~ CmdAB.c:1072:22: warning: 'distancex' may be used uninitialized in this function [-Wmaybe-uninitialized] boxptr->r_xbot += distancex; ^~ CmdAB.c:1038:6: warning: 'direction' may be used uninitialized in this function [-Wmaybe-uninitialized] switch (direction) ^~~~~~ CmdAB.c:1034:6: warning: 'tcorner' may be used uninitialized in this function [-Wmaybe-uninitialized] ToolMoveCorner(tcorner, &ll, FALSE, rootBoxDef); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling commands/CmdCD.o rm -f CmdCD.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CmdCD.c CmdCD.c: In function 'CmdCellname': CmdCD.c:739:3: warning: implicit declaration of function 'CmdDoProperty'; did you mean 'XChangeProperty'? [-Wimplicit-function-declaration] CmdDoProperty(cellDef, cmd, 3 + ((dolist) ? 1 : 0)); ^~~~~~~~~~~~~ XChangeProperty CmdCD.c:746:10: warning: implicit declaration of function 'DBCellDelete'; did you mean 'DBCellDeleteUse'? [-Wimplicit-function-declaration] DBCellDelete(cellname, TRUE); ^~~~~~~~~~~~ DBCellDeleteUse CmdCD.c:783:7: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] if (tolower(*cmd->tx_argv[3 + ((dolist) ? 1 : 0)]) == 't') ^~~~~~~ CmdCD.c:793:4: warning: implicit declaration of function 'dbReadOpen'; did you mean 'PaOpen'? [-Wimplicit-function-declaration] dbReadOpen(cellDef, NULL, TRUE, NULL); ^~~~~~~~~~ PaOpen CmdCD.c:934:6: warning: implicit declaration of function 'DBCellRename'; did you mean 'DBCellRenameDef'? [-Wimplicit-function-declaration] DBCellRename(cellname, cmd->tx_argv[3 + ((dolist) ? 1 : 0)]); ^~~~~~~~~~~~ DBCellRenameDef CmdCD.c:945:6: warning: implicit declaration of function 'DBLockUse'; did you mean 'DBFindUse'? [-Wimplicit-function-declaration] DBLockUse(cellname, TRUE); ^~~~~~~~~ DBFindUse CmdCD.c:625:21: warning: typedef 'optionType' locally defined but not used [-Wunused-local-typedefs] IDX_MODIFIED } optionType; ^~~~~~~~~~ CmdCD.c: In function 'CmdCif': CmdCD.c:1186:3: warning: implicit declaration of function 'CIFCoverageLayer'; did you mean 'CIFParseLayer'? [-Wimplicit-function-declaration] CIFCoverageLayer(rootDef, &box, argv[2]); ^~~~~~~~~~~~~~~~ CIFParseLayer CmdCD.c:1514:7: warning: implicit declaration of function 'CIFWriteFlat'; did you mean 'CIFWrite'? [-Wimplicit-function-declaration] if (!CIFWriteFlat(rootDef, f)) ^~~~~~~~~~~~ CIFWrite CmdCD.c: In function 'CmdCopy': CmdCD.c:1842:22: warning: implicit declaration of function 'cmdParseCoord'; did you mean 'XParseColor'? [-Wimplicit-function-declaration] editPoint.p_x = cmdParseCoord(w, cmd->tx_argv[2], FALSE, TRUE); ^~~~~~~~~~~~~ XParseColor CmdCD.c: In function 'CmdCrosshair': CmdCD.c:2949:6: warning: implicit declaration of function 'DBWSetCrosshair'; did you mean 'DBWDrawCrosshair'? [-Wimplicit-function-declaration] DBWSetCrosshair(w, &pos); ^~~~~~~~~~~~~~~ DBWDrawCrosshair CmdCD.c: In function 'CmdDrc': CmdCD.c:3250:6: warning: implicit declaration of function 'DRCFlatCheck'; did you mean 'DRCCheck'? [-Wimplicit-function-declaration] DRCFlatCheck(rootUse, &rootArea); ^~~~~~~~~~~~ DRCCheck CmdCD.c:3448:17: warning: implicit declaration of function 'cmdScaleCoord' [-Wimplicit-function-declaration] DRCTechHalo = cmdScaleCoord(w, argv[2], FALSE, TRUE, 1); ^~~~~~~~~~~~~ CmdCD.c:3576:9: warning: implicit declaration of function 'DRCWhyAll'; did you mean 'DRCWhy'? [-Wimplicit-function-declaration] DRCWhyAll(rootUse, &rootArea, NULL); ^~~~~~~~~ DRCWhy CmdCD.c:3170:25: warning: unused variable 'dclsrch' [-Wunused-variable] DRCCountList *dcl, *dclsrch; ^~~~~~~ CmdCD.c:3162:17: warning: unused variable 'trans' [-Wunused-variable] Transform trans; ^~~~~ CmdCD.c:3160:25: warning: unused variable 'use' [-Wunused-variable] CellUse * rootUse, *use; ^~~ CmdCD.c: In function 'CmdCalma': CmdCD.c:539:10: warning: 'rootDef' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!CalmaWrite(rootDef, f)) ^~~~~~~~~~~~~~~~~~~~~~ CmdCD.c: In function 'CmdCif': CmdCD.c:1506:7: warning: 'namep' may be used uninitialized in this function [-Wmaybe-uninitialized] f = PaOpen(namep, "w", ".cif", ".", (char *) NULL, (char **) NULL); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CmdCD.c: In function 'cmdBevelFunc': CmdCD.c:2859:19: warning: 'pathtype' may be used uninitialized in this function [-Wmaybe-uninitialized] cpl->pathtype = pathtype; ~~~~~~~~~~~~~~^~~~~~~~~~ CmdCD.c: In function 'CmdCrash': CmdCD.c:2908:5: warning: 'option' may be used uninitialized in this function [-Wmaybe-uninitialized] switch(option) { ^~~~~~ --- compiling commands/CmdE.o rm -f CmdE.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CmdE.c CmdE.c: In function 'CmdEdit': CmdE.c:85:10: warning: unused variable 'noCurrentUse' [-Wunused-variable] bool noCurrentUse = FALSE; ^~~~~~~~~~~~ CmdE.c: In function 'cmdEditRedisplayFunc': CmdE.c:171:26: warning: missing braces around initializer [-Wmissing-braces] static Rect origin = {-1, -1, 1, 1}; ^ { } { } CmdE.c: In function 'CmdElement': CmdE.c:446:4: warning: implicit declaration of function 'DBWElementText'; did you mean 'DBWElementAddText'? [-Wimplicit-function-declaration] DBWElementText(w, cmd->tx_argv[2], NULL); ^~~~~~~~~~~~~~ DBWElementAddText CmdE.c:465:4: warning: implicit declaration of function 'DBWElementStyle'; did you mean 'DBWElementInbox'? [-Wimplicit-function-declaration] DBWElementStyle(w, cmd->tx_argv[2], -1, 0); ^~~~~~~~~~~~~~~ DBWElementInbox CmdE.c:496:4: warning: implicit declaration of function 'DBWElementPos'; did you mean 'DBWElementInbox'? [-Wimplicit-function-declaration] DBWElementPos(w, cmd->tx_argv[2], NULL); ^~~~~~~~~~~~~ DBWElementInbox CmdE.c: In function 'CmdErase': CmdE.c:634:2: warning: implicit declaration of function 'CmdPaintEraseButton' [-Wimplicit-function-declaration] CmdPaintEraseButton(w, &cmd->tx_p, FALSE); ^~~~~~~~~~~~~~~~~~~ CmdE.c:649:5: warning: implicit declaration of function 'DBEraseValid'; did you mean 'DBEraseLabel'? [-Wimplicit-function-declaration] DBEraseValid(EditCellUse->cu_def, &editRect, &mask, 0); ^~~~~~~~~~~~ DBEraseLabel CmdE.c:674:13: warning: implicit declaration of function 'DBCellSrArea'; did you mean 'DBCellSrDefs'? [-Wimplicit-function-declaration] (void) DBCellSrArea(&scx, cmdEraseCellsFunc, (ClientData) NULL); ^~~~~~~~~~~~ DBCellSrDefs CmdE.c:682:3: warning: implicit declaration of function 'DBUnLinkCell'; did you mean 'DBUnlinkCell'? [-Wimplicit-function-declaration] DBUnLinkCell(cmdEraseCells[i], EditCellUse->cu_def); ^~~~~~~~~~~~ DBUnlinkCell CmdE.c: In function 'CmdExpand': CmdE.c:777:13: warning: implicit declaration of function 'DBScalePoint'; did you mean 'DBUsePrint'? [-Wimplicit-function-declaration] DBScalePoint(&rootRect.r_ll, d, 1); ^~~~~~~~~~~~ DBUsePrint CmdE.c:784:13: warning: implicit declaration of function 'WindScale'; did you mean 'WindScroll'? [-Wimplicit-function-declaration] WindScale(d, 1); ^~~~~~~~~ WindScroll CmdE.c: In function 'CmdExtract': CmdE.c:983:6: warning: implicit declaration of function 'ExtIncremental'; did you mean 'ExtTechFinal'? [-Wimplicit-function-declaration] ExtIncremental(selectedUse); ^~~~~~~~~~~~~~ ExtTechFinal CmdE.c:1010:6: warning: implicit declaration of function 'ExtUnique' [-Wimplicit-function-declaration] ExtUnique(selectedUse, all); ^~~~~~~~~ CmdE.c:1014:6: warning: implicit declaration of function 'ExtAll'; did you mean 'ExtCell'? [-Wimplicit-function-declaration] ExtAll(selectedUse); ^~~~~~ ExtCell CmdE.c:1036:6: warning: implicit declaration of function 'ExtParents'; did you mean 'Tk_Parent'? [-Wimplicit-function-declaration] ExtParents(selectedUse); ^~~~~~~~~~ Tk_Parent CmdE.c:1046:6: warning: implicit declaration of function 'ExtShowParents' [-Wimplicit-function-declaration] ExtShowParents(selectedUse); ^~~~~~~~~~~~~~ CmdE.c:1176:7: warning: implicit declaration of function 'ExtLengthClear'; did you mean 'SelectClear'? [-Wimplicit-function-declaration] ExtLengthClear(); ^~~~~~~~~~~~~~ SelectClear CmdE.c:1186:4: warning: implicit declaration of function 'ExtSetDriver'; did you mean 'ExtSetStyle'? [-Wimplicit-function-declaration] ExtSetDriver(argv[n]); ^~~~~~~~~~~~ ExtSetStyle CmdE.c:1192:4: warning: implicit declaration of function 'ExtSetReceiver'; did you mean 'ExtSetStyle'? [-Wimplicit-function-declaration] ExtSetReceiver(argv[n]); ^~~~~~~~~~~~~~ ExtSetStyle CmdE.c:1112:21: warning: 'warn' may be used uninitialized in this function [-Wmaybe-uninitialized] else ExtDoWarn |= warn; ^~ --- compiling commands/CmdFI.o rm -f CmdFI.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CmdFI.c CmdFI.c: In function 'CmdFeedback': CmdFI.c:252:33: warning: implicit declaration of function 'cmdScaleCoord' [-Wimplicit-function-declaration] box.r_xbot = box.r_xtop = cmdScaleCoord(w, cmd->tx_argv[pstart++], ^~~~~~~~~~~~~ CmdFI.c:286:7: warning: implicit declaration of function 'GeoCanonicalRect'; did you mean 'GeoTransRect'? [-Wimplicit-function-declaration] GeoCanonicalRect(&r, &box); ^~~~~~~~~~~~~~~~ GeoTransRect CmdFI.c:314:7: warning: implicit declaration of function 'PaintPolygon'; did you mean 'XFillPolygon'? [-Wimplicit-function-declaration] PaintPolygon(plist, points, plane, ptable, ^~~~~~~~~~~~ XFillPolygon CmdFI.c: In function 'CmdFindLabel': CmdFI.c:807:2: warning: implicit declaration of function 'DBSearchLabel'; did you mean 'DBNearestLabel'? [-Wimplicit-function-declaration] DBSearchLabel(&scx, &DBAllButSpaceAndDRCBits, 0, labname, ^~~~~~~~~~~~~ DBNearestLabel CmdFI.c: In function 'CmdFlush': CmdFI.c:925:5: warning: implicit declaration of function 'cmdFlushCell'; did you mean 'CmdFlush'? [-Wimplicit-function-declaration] cmdFlushCell(def); ^~~~~~~~~~~~ CmdFlush CmdFI.c: In function 'CmdGetcell': CmdFI.c:969:10: warning: implicit declaration of function 'cmdDumpParseArgs'; did you mean 'Tk_ParseArgv'? [-Wimplicit-function-declaration] if (!cmdDumpParseArgs("getcell", w, cmd, &dummy, &scx)) ^~~~~~~~~~~~~~~~ Tk_ParseArgv CmdFI.c: In function 'CmdGetnode': CmdFI.c:1143:2: warning: implicit declaration of function 'SimGetsnode'; did you mean 'CmdGetnode'? [-Wimplicit-function-declaration] SimGetsnode(); ^~~~~~~~~~~ CmdGetnode CmdFI.c:1146:2: warning: implicit declaration of function 'SimGetnode'; did you mean 'CmdGetnode'? [-Wimplicit-function-declaration] SimGetnode(); ^~~~~~~~~~ CmdGetnode CmdFI.c: In function 'CmdGrid': CmdFI.c:1326:13: warning: implicit declaration of function 'cmdParseCoord'; did you mean 'XParseColor'? [-Wimplicit-function-declaration] xSpacing = cmdParseCoord(w, cmd->tx_argv[argstart], TRUE, TRUE); ^~~~~~~~~~~~~ XParseColor CmdFI.c: In function 'cmdIdFunc': CmdFI.c:1482:10: warning: implicit declaration of function 'DBIsChild' [-Wimplicit-function-declaration] if (!DBIsChild(use, EditCellUse)) ^~~~~~~~~ CmdFI.c:1495:10: warning: implicit declaration of function 'DBReLinkCell'; did you mean 'DBLinkCell'? [-Wimplicit-function-declaration] if (!DBReLinkCell(use, newId)) ^~~~~~~~~~~~ DBLinkCell CmdFI.c: In function 'CmdFindNetProc': CmdFI.c:1535:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (s2 = strchr(s, '/')) ^~ CmdFI.c:1538:2: warning: implicit declaration of function 'DBTreeFindUse'; did you mean 'DBFindUse'? [-Wimplicit-function-declaration] DBTreeFindUse(s, scx.scx_use, &scx2); ^~~~~~~~~~~~~ DBFindUse CmdFI.c: In function 'CmdGoto': CmdFI.c:1700:11: warning: unused variable 's' [-Wunused-variable] char *s, *nodename = cmd->tx_argv[1]; ^ CmdFI.c: In function 'flatCopyAllLabels': CmdFI.c:1808:10: warning: unused variable 'labelname' [-Wunused-variable] char labelname[1024]; ^~~~~~~~~ CmdFI.c: In function 'CmdFlatten': CmdFI.c:1936:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (newdef = DBCellLookDef(destname)) ^~~~~~ --- compiling commands/CmdLQ.o rm -f CmdLQ.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CmdLQ.c CmdLQ.c: In function 'CmdLabel': CmdLQ.c:212:10: warning: implicit declaration of function 'DBNameToFont'; did you mean 'Tk_NameOfFont'? [-Wimplicit-function-declaration] font = DBNameToFont(cmd->tx_argv[2]); ^~~~~~~~~~~~ Tk_NameOfFont CmdLQ.c:232:10: warning: implicit declaration of function 'cmdScaleCoord' [-Wimplicit-function-declaration] size = cmdScaleCoord(w, cmd->tx_argv[3], TRUE, TRUE, 8); ^~~~~~~~~~~~~ CmdLQ.c:175:9: warning: unused variable 'option' [-Wunused-variable] int option; ^~~~~~ CmdLQ.c: In function 'CmdLoad': CmdLQ.c:380:6: warning: implicit declaration of function 'ReduceFraction' [-Wimplicit-function-declaration] ReduceFraction(&DBLambda[0], &DBLambda[1]); ^~~~~~~~~~~~~~ CmdLQ.c: In function 'CmdMove': CmdLQ.c:508:22: warning: implicit declaration of function 'cmdParseCoord'; did you mean 'XParseColor'? [-Wimplicit-function-declaration] editPoint.p_x = cmdParseCoord(w, cmd->tx_argv[2], FALSE, TRUE); ^~~~~~~~~~~~~ XParseColor CmdLQ.c: In function 'CmdPaint': CmdLQ.c:696:5: warning: implicit declaration of function 'DBPaintValid'; did you mean 'DBPaintMask'? [-Wimplicit-function-declaration] DBPaintValid(EditCellUse->cu_def, &editRect, &mask, 0); ^~~~~~~~~~~~ DBPaintMask CmdLQ.c: In function 'CmdPaintEraseButton': CmdLQ.c:767:2: warning: implicit declaration of function 'DBEraseValid'; did you mean 'DBEraseLabel'? [-Wimplicit-function-declaration] DBEraseValid(EditCellUse->cu_def, &editRect, &eraseMask, 0); ^~~~~~~~~~~~ DBEraseLabel CmdLQ.c: In function 'CmdPath': CmdLQ.c:906:2: warning: implicit declaration of function 'PaAppend'; did you mean 'PaOpen'? [-Wimplicit-function-declaration] PaAppend(pathptr, srcptr); ^~~~~~~~ PaOpen CmdLQ.c: In function 'CmdPolygon': CmdLQ.c:989:6: warning: implicit declaration of function 'PaintPolygon'; did you mean 'XFillPolygon'? [-Wimplicit-function-declaration] PaintPolygon(plist, points, def->cd_planes[pNum], ^~~~~~~~~~~~ XFillPolygon CmdLQ.c: In function 'CmdPort': CmdLQ.c:1123:10: warning: unused variable 'found' [-Wunused-variable] bool found; ^~~~~ CmdLQ.c: In function 'CmdDoProperty': CmdLQ.c:1684:1: warning: type of 'argstart' defaults to 'int' [-Wimplicit-int] CmdDoProperty(def, cmd, argstart) ^~~~~~~~~~~~~ CmdLQ.c: In function 'CmdNetlist': CmdLQ.c:1837:11: warning: unused variable 'cursor' [-Wunused-variable] Point cursor; ^~~~~~ CmdLQ.c:1836:18: warning: unused variable 'lastargv' [-Wunused-variable] char **msg, *lastargv; ^~~~~~~~ --- compiling commands/CmdRS.o rm -f CmdRS.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CmdRS.c CmdRS.c: In function 'CmdSave': CmdRS.c:158:2: warning: implicit declaration of function 'cmdSaveCell'; did you mean 'CmdSave'? [-Wimplicit-function-declaration] cmdSaveCell(locDef, cmd->tx_argv[1], FALSE, TRUE); ^~~~~~~~~~~ CmdSave CmdRS.c: In function 'CmdScaleGrid': CmdRS.c:241:2: warning: implicit declaration of function 'ReduceFraction' [-Wimplicit-function-declaration] ReduceFraction(&scalen, &scaled); ^~~~~~~~~~~~~~ CmdRS.c:246:6: warning: implicit declaration of function 'CIFTechLimitScale'; did you mean 'DRCTechScale'? [-Wimplicit-function-declaration] if (CIFTechLimitScale(scalen, scaled) != 0) ^~~~~~~~~~~~~~~~~ DRCTechScale CmdRS.c:254:2: warning: implicit declaration of function 'CIFTechInputScale'; did you mean 'DRCTechScale'? [-Wimplicit-function-declaration] CIFTechInputScale(scalen, scaled, TRUE); ^~~~~~~~~~~~~~~~~ DRCTechScale CmdRS.c:255:2: warning: implicit declaration of function 'CIFTechOutputScale'; did you mean 'DRCTechScale'? [-Wimplicit-function-declaration] CIFTechOutputScale(scalen, scaled); ^~~~~~~~~~~~~~~~~~ DRCTechScale CmdRS.c:263:2: warning: implicit declaration of function 'PlowAfterTech' [-Wimplicit-function-declaration] PlowAfterTech(); ^~~~~~~~~~~~~ CmdRS.c:267:2: warning: implicit declaration of function 'ExtTechScale'; did you mean 'DRCTechScale'? [-Wimplicit-function-declaration] ExtTechScale(scalen, scaled); ^~~~~~~~~~~~ DRCTechScale CmdRS.c:271:2: warning: implicit declaration of function 'WireTechScale'; did you mean 'DRCTechScale'? [-Wimplicit-function-declaration] WireTechScale(scalen, scaled); ^~~~~~~~~~~~~ DRCTechScale CmdRS.c:276:2: warning: implicit declaration of function 'LefTechScale'; did you mean 'DRCTechScale'? [-Wimplicit-function-declaration] LefTechScale(scalen, scaled); ^~~~~~~~~~~~ DRCTechScale CmdRS.c:282:2: warning: implicit declaration of function 'RtrTechScale'; did you mean 'DRCTechScale'? [-Wimplicit-function-declaration] RtrTechScale(scalen, scaled); ^~~~~~~~~~~~ DRCTechScale CmdRS.c:286:2: warning: implicit declaration of function 'MZAfterTech' [-Wimplicit-function-declaration] MZAfterTech(); ^~~~~~~~~~~ CmdRS.c:287:2: warning: implicit declaration of function 'IRAfterTech' [-Wimplicit-function-declaration] IRAfterTech(); ^~~~~~~~~~~ CmdRS.c:292:2: warning: implicit declaration of function 'DBScaleEverything'; did you mean 'DBScalePoint'? [-Wimplicit-function-declaration] DBScaleEverything(scaled, scalen); ^~~~~~~~~~~~~~~~~ DBScalePoint CmdRS.c:312:2: warning: implicit declaration of function 'WindScale'; did you mean 'WindScroll'? [-Wimplicit-function-declaration] WindScale(scaled, scalen); ^~~~~~~~~ WindScroll CmdRS.c:317:2: warning: implicit declaration of function 'UndoFlush'; did you mean 'TxFlush'? [-Wimplicit-function-declaration] UndoFlush(); ^~~~~~~~~ TxFlush CmdRS.c: In function 'CmdSelect': CmdRS.c:741:28: warning: missing braces around initializer [-Wmissing-braces] static Rect lastArea = {-100, -100, -200, -200}; ^ { } { } CmdRS.c:943:6: warning: implicit declaration of function 'SelectAndCopy1'; did you mean 'SelectCopy'? [-Wimplicit-function-declaration] SelectAndCopy1(); ^~~~~~~~~~~~~~ SelectCopy CmdRS.c:956:14: warning: implicit declaration of function 'cmdParseCoord'; did you mean 'XParseColor'? [-Wimplicit-function-declaration] p.p_x = cmdParseCoord(w, cmd->tx_argv[2], FALSE, TRUE); ^~~~~~~~~~~~~ XParseColor CmdRS.c:991:6: warning: implicit declaration of function 'SelectFlat'; did you mean 'SelectClear'? [-Wimplicit-function-declaration] SelectFlat(); ^~~~~~~~~~ SelectClear CmdRS.c:1038:6: warning: implicit declaration of function 'SelCopyToFeedback' [-Wimplicit-function-declaration] SelCopyToFeedback(SelectRootDef, SelectUse, feedstyle, ^~~~~~~~~~~~~~~~~ CmdRS.c:1128:30: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if (windowMask & xMask == 0) { ~~~~~~^~~~ CmdRS.c:1369:3: warning: implicit declaration of function 'DBTreeFindUse'; did you mean 'DBFindUse'? [-Wimplicit-function-declaration] DBTreeFindUse(optionArgs[1], scx.scx_use, &scx2); ^~~~~~~~~~~~~ DBFindUse CmdRS.c:769:14: warning: unused variable 'rootPoint' [-Wunused-variable] Point p, rootPoint; ^~~~~~~~~ CmdRS.c: In function 'cmdLabelRotateFunc': CmdRS.c:1520:2: warning: implicit declaration of function 'DBUndoEraseLabel'; did you mean 'DBEraseLabel'? [-Wimplicit-function-declaration] DBUndoEraseLabel(cellDef, label); ^~~~~~~~~~~~~~~~ DBEraseLabel CmdRS.c:1524:2: warning: implicit declaration of function 'DBUndoPutLabel'; did you mean 'DBPutLabel'? [-Wimplicit-function-declaration] DBUndoPutLabel(cellDef, label); ^~~~~~~~~~~~~~ DBPutLabel CmdRS.c: In function 'CmdSetLabel': CmdRS.c:1888:14: warning: implicit declaration of function 'DBNameToFont'; did you mean 'Tk_NameOfFont'? [-Wimplicit-function-declaration] font = DBNameToFont(cmd->tx_argv[2]); ^~~~~~~~~~~~ Tk_NameOfFont CmdRS.c:1894:8: warning: implicit declaration of function 'DBLoadFont'; did you mean 'XLoadFont'? [-Wimplicit-function-declaration] if (DBLoadFont(cmd->tx_argv[2], scale) != 0) ^~~~~~~~~~ XLoadFont CmdRS.c:1928:14: warning: implicit declaration of function 'cmdScaleCoord'; did you mean 'CmdScaleGrid'? [-Wimplicit-function-declaration] size = cmdScaleCoord(w, cmd->tx_argv[2], TRUE, TRUE, 8); ^~~~~~~~~~~~~ CmdScaleGrid CmdRS.c: In function 'CmdSnap': CmdRS.c:2340:19: warning: unused variable 'crec' [-Wunused-variable] DBWclientRec *crec; ^~~~ In file included from CmdRS.c:36:0: CmdRS.c: In function 'CmdSplit': ../database/database.h:697:38: warning: implicit declaration of function 'DBMergeNMTiles0'; did you mean 'DBMergeNMTiles'? [-Wimplicit-function-declaration] #define DBMergeNMTiles(a, b, c) DBMergeNMTiles0(a, b, c, FALSE) ^ CmdRS.c:2463:4: note: in expansion of macro 'DBMergeNMTiles' DBMergeNMTiles(EditCellUse->cu_def->cd_planes[pNum], ^~~~~~~~~~~~~~ CmdRS.c: In function 'CmdShell': CmdRS.c:2134:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(command); ^~~~~~~~~~~~~~~ CmdRS.c: In function 'CmdSelect': CmdRS.c:764:42: warning: 'optionArgs' may be used uninitialized in this function [-Wmaybe-uninitialized] char path[200], *printPath, **msg, **optionArgs, *feedtext; ^~~~~~~~~~ --- compiling commands/CmdTZ.o rm -f CmdTZ.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CmdTZ.c CmdTZ.c: In function 'checkForPaintFunc': CmdTZ.c:87:15: warning: unused variable 'result' [-Wunused-variable] int pNum, result; ^~~~~~ CmdTZ.c: In function 'CmdTech': CmdTZ.c:232:3: warning: implicit declaration of function 'ReduceFraction' [-Wimplicit-function-declaration] ReduceFraction(&DBLambda[0], &DBLambda[1]); ^~~~~~~~~~~~~~ CmdTZ.c:414:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (DBIsContact(ctype)) ^ CmdTZ.c:565:11: warning: implicit declaration of function 'TechLoad'; did you mean 'WindLoad'? [-Wimplicit-function-declaration] if (!TechLoad(cmd->tx_argv[2], -2)) ^~~~~~~~ WindLoad CmdTZ.c: In function 'CmdWhat': CmdTZ.c:974:24: warning: implicit declaration of function 'DBMaskAddStacking'; did you mean 'DBTechFindStacking'? [-Wimplicit-function-declaration] if (DBIsContact(i)) DBMaskAddStacking(&maskBits); ^~~~~~~~~~~~~~~~~ DBTechFindStacking CmdTZ.c: In function 'CmdWire': CmdTZ.c:1381:15: warning: implicit declaration of function 'cmdParseCoord'; did you mean 'XParseColor'? [-Wimplicit-function-declaration] value = cmdParseCoord(w, cmd->tx_argv[3], TRUE, TRUE); ^~~~~~~~~~~~~ XParseColor CmdTZ.c:1647:23: warning: implicit declaration of function 'cmdScaleCoord' [-Wimplicit-function-declaration] plist[i].p_x = cmdScaleCoord(w, xptr, FALSE, TRUE, 2); ^~~~~~~~~~~~~ CmdTZ.c:1674:4: warning: implicit declaration of function 'PaintWireList' [-Wimplicit-function-declaration] PaintWireList(plist, points, width, endcap, ^~~~~~~~~~~~~ CmdTZ.c: In function 'cmdWriteallFunc': CmdTZ.c:1815:6: warning: implicit declaration of function 'cmdSaveCell'; did you mean 'DBPlaceCell'? [-Wimplicit-function-declaration] cmdSaveCell(def, (char *) NULL, FALSE, TRUE); ^~~~~~~~~~~ DBPlaceCell CmdTZ.c:1818:6: warning: implicit declaration of function 'cmdFlushCell' [-Wimplicit-function-declaration] cmdFlushCell(def); ^~~~~~~~~~~~ CmdTZ.c:1773:20: warning: unused variable 'argv' [-Wunused-variable] char *prompt, *argv; ^~~~ CmdTZ.c: In function 'CmdXor': CmdTZ.c:2024:2: warning: implicit declaration of function 'FlatCopyAllLabels'; did you mean 'DBCellCopyAllLabels'? [-Wimplicit-function-declaration] FlatCopyAllLabels(&scx, &DBAllTypeBits, xMask, flatDestUse); ^~~~~~~~~~~~~~~~~ DBCellCopyAllLabels CmdTZ.c: In function 'CmdWhat': CmdTZ.c:1042:3: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] TxPrintf(" (%i instances)", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling commands/CmdWizard.o rm -f CmdWizard.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CmdWizard.c CmdWizard.c: In function 'CmdExtractTest': CmdWizard.c:184:5: warning: implicit declaration of function 'ExtractTest'; did you mean 'CmdExtractTest'? [-Wimplicit-function-declaration] ExtractTest(w, cmd); ^~~~~~~~~~~ CmdExtractTest CmdWizard.c: In function 'cmdStatsFunc': CmdWizard.c:524:5: warning: implicit declaration of function 'DBTreeCountPaint'; did you mean 'DBFreePaintPlane'? [-Wimplicit-function-declaration] DBTreeCountPaint(def, cmdStatsCount, cmdStatsHier, ^~~~~~~~~~~~~~~~ DBFreePaintPlane --- compiling commands/CmdAuto.o rm -f CmdAuto.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CmdAuto.c --- linking libcommands.o rm -f libcommands.o ld -r CmdSubrs.o CmdAB.o CmdCD.o CmdE.o CmdFI.o CmdLQ.o CmdRS.o CmdTZ.o CmdWizard.o CmdAuto.o -o libcommands.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/commands' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/database' --- compiling database/DBbound.o rm -f DBbound.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBbound.c DBbound.c: In function 'DBBoundCellPlane': DBbound.c:51:12: warning: unused variable 'plane' [-Wunused-variable] Plane *plane; ^~~~~ --- compiling database/DBcell.o rm -f DBcell.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBcell.c --- compiling database/DBcellbox.o rm -f DBcellbox.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBcellbox.c DBcellbox.c: In function 'dbReComputeBboxFunc': DBcellbox.c:627:21: warning: implicit declaration of function 'DBBoundCellPlane'; did you mean 'DBBoundPlane'? [-Wimplicit-function-declaration] if ((foundAny = DBBoundCellPlane(cellDef, TRUE, &rect)) > 0) ^~~~~~~~~~~~~~~~ DBBoundPlane --- compiling database/DBcellcopy.o rm -f DBcellcopy.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBcellcopy.c In file included from DBcellcopy.c:30:0: DBcellcopy.c: In function 'DBPaintPlaneWrapper': ../database/database.h:697:38: warning: implicit declaration of function 'DBMergeNMTiles0'; did you mean 'DBMergeNMTiles'? [-Wimplicit-function-declaration] #define DBMergeNMTiles(a, b, c) DBMergeNMTiles0(a, b, c, FALSE) ^ DBcellcopy.c:114:5: note: in expansion of macro 'DBMergeNMTiles' DBMergeNMTiles(def->cd_planes[pNum], &expand, undo); ^~~~~~~~~~~~~~ DBcellcopy.c: In function 'DBCellCopyAllPaint': DBcellcopy.c:288:5: warning: implicit declaration of function 'DBMaskAddStacking'; did you mean 'DBTechFindStacking'? [-Wimplicit-function-declaration] DBMaskAddStacking(&locMask); ^~~~~~~~~~~~~~~~~ DBTechFindStacking DBcellcopy.c: In function 'dbCopyAllLabels': DBcellcopy.c:365:5: warning: implicit declaration of function 'GeoTransPointDelta'; did you mean 'GeoTransPoint'? [-Wimplicit-function-declaration] GeoTransPointDelta(&scx->scx_trans, &lab->lab_offset, &labOffset); ^~~~~~~~~~~~~~~~~~ GeoTransPoint DBcellcopy.c:366:17: warning: implicit declaration of function 'GeoTransAngle'; did you mean 'GeoTransPos'? [-Wimplicit-function-declaration] labRotate = GeoTransAngle(&scx->scx_trans, lab->lab_rotate); ^~~~~~~~~~~~~ GeoTransPos DBcellcopy.c: In function 'DBCellCopyPaint': DBcellcopy.c:426:10: warning: implicit declaration of function 'DBDescendSubcell'; did you mean 'DBDeleteCell'? [-Wimplicit-function-declaration] if (!DBDescendSubcell(scx->scx_use, xMask)) ^~~~~~~~~~~~~~~~ DBDeleteCell DBcellcopy.c: In function 'dbCopyAllPaint': DBcellcopy.c:669:2: warning: implicit declaration of function 'GrClipTriangle' [-Wimplicit-function-declaration] GrClipTriangle(&targetRect, &arg->caa_rect, TRUE, dinfo, points, &np); ^~~~~~~~~~~~~~ DBcellcopy.c:687:7: warning: implicit declaration of function 'GeoCanonicalRect'; did you mean 'GeoTransRect'? [-Wimplicit-function-declaration] GeoCanonicalRect(&rrect, &targetRect); ^~~~~~~~~~~~~~~~ GeoTransRect DBcellcopy.c: In function 'DBCellCopyCells': DBcellcopy.c:867:12: warning: implicit declaration of function 'DBCellSrArea'; did you mean 'DBCellSrDefs'? [-Wimplicit-function-declaration] (void) DBCellSrArea(scx, dbCellCopyCellsFunc, (ClientData) &arg); ^~~~~~~~~~~~ DBCellSrDefs DBcellcopy.c: In function 'dbCellCopyCellsFunc': DBcellcopy.c:955:2: warning: implicit declaration of function 'DBUnLinkCell'; did you mean 'DBUnlinkCell'? [-Wimplicit-function-declaration] DBUnLinkCell(newUse, arg->caa_targetUse->cu_def); ^~~~~~~~~~~~ DBUnlinkCell --- compiling database/DBcellname.o rm -f DBcellname.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBcellname.c DBcellname.c: In function 'DBCellDelete': DBcellname.c:257:6: warning: implicit declaration of function 'WindUnload'; did you mean 'WindLoad'? [-Wimplicit-function-declaration] WindUnload(celluse); ^~~~~~~~~~ WindLoad DBcellname.c: In function 'dbCellPrintInfo': DBcellname.c:456:7: warning: implicit declaration of function 'dbCellUsePrintFunc'; did you mean 'dbCellPrintInfo'? [-Wimplicit-function-declaration] dbCellUsePrintFunc(celluse, &dolist); ^~~~~~~~~~~~~~~~~~ dbCellPrintInfo DBcellname.c:390:10: warning: unused variable 'topdone' [-Wunused-variable] bool topdone; ^~~~~~~ DBcellname.c: In function 'dbLockUseFunc': DBcellname.c:1093:25: warning: implicit declaration of function 'DBIsChild' [-Wimplicit-function-declaration] if (EditCellUse && !DBIsChild(use, EditCellUse)) ^~~~~~~~~ DBcellname.c: In function 'DBLockUse': DBcellname.c:1179:7: warning: implicit declaration of function 'DBTreeFindUse'; did you mean 'DBFindUse'? [-Wimplicit-function-declaration] DBTreeFindUse(UseName, celluse, &scx); ^~~~~~~~~~~~~ DBFindUse DBcellname.c:1141:9: warning: variable 'found' set but not used [-Wunused-but-set-variable] int found; ^~~~~ DBcellname.c: In function 'DBUnLinkCell': DBcellname.c:2051:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (he = HashLookOnly(&parentDef->cd_idHash, use->cu_id)) ^~ --- compiling database/DBcellsrch.o rm -f DBcellsrch.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBcellsrch.c DBcellsrch.c: In function 'dbCellTileSrFunc': DBcellsrch.c:188:10: warning: implicit declaration of function 'DBDescendSubcell'; did you mean 'DBDeleteCell'? [-Wimplicit-function-declaration] if (!DBDescendSubcell(scx->scx_use, fp->tf_xmask)) ^~~~~~~~~~~~~~~~ DBDeleteCell DBcellsrch.c:208:20: warning: implicit declaration of function 'DBInvTransformDiagonal'; did you mean 'DBTransformDiagonal'? [-Wimplicit-function-declaration] TileType dinfo = DBInvTransformDiagonal(fp->tf_dinfo, &scx->scx_trans); ^~~~~~~~~~~~~~~~~~~~~~ DBTransformDiagonal DBcellsrch.c:209:7: warning: implicit declaration of function 'DBSrPaintNMArea'; did you mean 'DBSrPaintArea'? [-Wimplicit-function-declaration] if (DBSrPaintNMArea((Tile *) NULL, def->cd_planes[pNum], ^~~~~~~~~~~~~~~ DBSrPaintArea DBcellsrch.c:225:9: warning: implicit declaration of function 'DBCellSrArea'; did you mean 'DBCellSrDefs'? [-Wimplicit-function-declaration] if (DBCellSrArea(scx, dbCellTileSrFunc, (ClientData) fp)) ^~~~~~~~~~~~ DBCellSrDefs DBcellsrch.c: In function 'DBTreeSrUniqueTiles': DBcellsrch.c:284:12: warning: implicit declaration of function 'dbCellUniqueTileSrFunc'; did you mean 'dbCellTileSrFunc'? [-Wimplicit-function-declaration] return dbCellUniqueTileSrFunc(scx, &filter); ^~~~~~~~~~~~~~~~~~~~~~ dbCellTileSrFunc DBcellsrch.c: In function 'DBTreeSrCells': DBcellsrch.c:738:17: warning: variable 'context' set but not used [-Wunused-but-set-variable] TreeContext context; ^~~~~~~ DBcellsrch.c: In function 'DBScaleEverything': DBcellsrch.c:1474:2: warning: implicit declaration of function 'dbScaleCell'; did you mean 'DBPlaceCell'? [-Wimplicit-function-declaration] dbScaleCell(lcd->cellDef, scalen, scaled); ^~~~~~~~~~~ DBPlaceCell DBcellsrch.c: In function 'dbCellLabelSrFunc': DBcellsrch.c:675:24: warning: 'tnext' may be used uninitialized in this function [-Wmaybe-uninitialized] fp->tf_tpath->tp_next = tnext; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ --- compiling database/DBcellsel.o rm -f DBcellsel.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBcellsel.c DBcellsel.c: In function 'dbSelectCellSr': DBcellsel.c:236:9: warning: implicit declaration of function 'DBDescendSubcell'; did you mean 'DBDeleteCell'? [-Wimplicit-function-declaration] if (DBDescendSubcell(scx->scx_use, arg->csa_xmask)) ^~~~~~~~~~~~~~~~ DBDeleteCell DBcellsel.c:238:9: warning: implicit declaration of function 'DBCellSrArea'; did you mean 'DBCellSrDefs'? [-Wimplicit-function-declaration] (void) DBCellSrArea(scx, dbSelectCellSr, (ClientData) arg); ^~~~~~~~~~~~ DBCellSrDefs --- compiling database/DBcellsubr.o rm -f DBcellsubr.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBcellsubr.c DBcellsubr.c: In function 'DBDescendSubcell': DBcellsubr.c:78:14: warning: implicit declaration of function 'DBIsSubcircuit' [-Wimplicit-function-declaration] return (DBIsSubcircuit(use->cu_def)) ? FALSE : TRUE; ^~~~~~~~~~~~~~ --- compiling database/DBconnect.o rm -f DBconnect.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBconnect.c DBconnect.c: In function 'dbSrConnectFunc': DBconnect.c:595:7: warning: implicit declaration of function 'DBSrPaintNMArea'; did you mean 'DBSrPaintArea'? [-Wimplicit-function-declaration] if (DBSrPaintNMArea((Tile *) NULL, csa->csa_def->cd_planes[i], ^~~~~~~~~~~~~~~ DBSrPaintArea DBconnect.c: In function 'dbcConnectLabelFunc': DBconnect.c:674:5: warning: implicit declaration of function 'GeoTransPointDelta'; did you mean 'GeoTransPoint'? [-Wimplicit-function-declaration] GeoTransPointDelta(&scx->scx_trans, &lab->lab_offset, &offset); ^~~~~~~~~~~~~~~~~~ GeoTransPoint DBconnect.c:675:14: warning: implicit declaration of function 'GeoTransAngle'; did you mean 'GeoTransPos'? [-Wimplicit-function-declaration] rotate = GeoTransAngle(&scx->scx_trans, lab->lab_rotate); ^~~~~~~~~~~~~ GeoTransPos DBconnect.c: In function 'dbcConnectFunc': DBconnect.c:933:6: warning: unused variable 'i' [-Wunused-variable] int i, lastsize = csa2->csa2_size; ^ DBconnect.c: In function 'DBTreeCopyConnect': DBconnect.c:1041:6: warning: implicit declaration of function 'DBTreeSrNMTiles'; did you mean 'DBTreeSrTiles'? [-Wimplicit-function-declaration] DBTreeSrNMTiles(scx, newtype, newmask, xMask, dbcConnectFunc, ^~~~~~~~~~~~~~~ DBTreeSrTiles --- compiling database/DBcount.o rm -f DBcount.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBcount.c --- compiling database/DBexpand.o rm -f DBexpand.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBexpand.c DBexpand.c: In function 'DBExpand': DBexpand.c:76:9: warning: implicit declaration of function 'DBDescendSubcell'; did you mean 'DBDeleteCell'? [-Wimplicit-function-declaration] if (DBDescendSubcell(cellUse, expandMask) == expandFlag) ^~~~~~~~~~~~~~~~ DBDeleteCell DBexpand.c: In function 'DBExpandAll': DBexpand.c:162:2: warning: implicit declaration of function 'DBCellSrArea'; did you mean 'DBCellSrDefs'? [-Wimplicit-function-declaration] DBCellSrArea(&scontext, dbExpandFunc, (ClientData) &arg); ^~~~~~~~~~~~ DBCellSrDefs DBexpand.c: In function 'dbExpandFunc': DBexpand.c:184:9: warning: unused variable 'n' [-Wunused-variable] int n = DBLambda[1]; ^ --- compiling database/DBio.o rm -f DBio.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBio.c DBio.c: In function 'dbCellReadDef': DBio.c:372:5: warning: implicit declaration of function 'ReduceFraction' [-Wimplicit-function-declaration] ReduceFraction(&n, &d); ^~~~~~~~~~~~~~ DBio.c:373:18: warning: implicit declaration of function 'CIFTechLimitScale'; did you mean 'DRCTechScale'? [-Wimplicit-function-declaration] scaleLimit = CIFTechLimitScale(n, d); ^~~~~~~~~~~~~~~~~ DRCTechScale DBio.c:377:2: warning: implicit declaration of function 'CIFTechInputScale'; did you mean 'DRCTechScale'? [-Wimplicit-function-declaration] CIFTechInputScale(1, d, TRUE); ^~~~~~~~~~~~~~~~~ DRCTechScale DBio.c:378:2: warning: implicit declaration of function 'CIFTechOutputScale'; did you mean 'DRCTechScale'? [-Wimplicit-function-declaration] CIFTechOutputScale(1, d); ^~~~~~~~~~~~~~~~~~ DRCTechScale DBio.c:380:2: warning: implicit declaration of function 'PlowAfterTech' [-Wimplicit-function-declaration] PlowAfterTech(); ^~~~~~~~~~~~~ DBio.c:381:2: warning: implicit declaration of function 'ExtTechScale'; did you mean 'DRCTechScale'? [-Wimplicit-function-declaration] ExtTechScale(1, d); ^~~~~~~~~~~~ DRCTechScale DBio.c:382:2: warning: implicit declaration of function 'WireTechScale'; did you mean 'DRCTechScale'? [-Wimplicit-function-declaration] WireTechScale(1, d); ^~~~~~~~~~~~~ DRCTechScale DBio.c:384:2: warning: implicit declaration of function 'LefTechScale'; did you mean 'DRCTechScale'? [-Wimplicit-function-declaration] LefTechScale(1, d); ^~~~~~~~~~~~ DRCTechScale DBio.c:387:2: warning: implicit declaration of function 'RtrTechScale'; did you mean 'DRCTechScale'? [-Wimplicit-function-declaration] RtrTechScale(1, d); ^~~~~~~~~~~~ DRCTechScale DBio.c:388:2: warning: implicit declaration of function 'MZAfterTech' [-Wimplicit-function-declaration] MZAfterTech(); ^~~~~~~~~~~ DBio.c:389:2: warning: implicit declaration of function 'IRAfterTech' [-Wimplicit-function-declaration] IRAfterTech(); ^~~~~~~~~~~ DBio.c:391:2: warning: implicit declaration of function 'DBScaleEverything' [-Wimplicit-function-declaration] DBScaleEverything(d, 1); ^~~~~~~~~~~~~~~~~ DBio.c:504:14: warning: implicit declaration of function 'GetRect'; did you mean 'select'? [-Wimplicit-function-declaration] if ((dir = GetRect(f, 3, rp, n, d)) == 0) goto badfile; ^~~~~~~ select DBio.c:586:5: warning: implicit declaration of function 'DBGenerateUniqueIds' [-Wimplicit-function-declaration] DBGenerateUniqueIds(cellDef, TRUE); ^~~~~~~~~~~~~~~~~~~ DBio.c:278:12: warning: unused variable 'plane' [-Wunused-variable] Plane *plane; ^~~~~ DBio.c:272:22: warning: unused variable 'ptable' [-Wunused-variable] PaintResultType *ptable; ^~~~~~ DBio.c: In function 'DBReadBackup': DBio.c:873:2: warning: implicit declaration of function 'DBWreload' [-Wimplicit-function-declaration] DBWreload(line + 4); ^~~~~~~~~ DBio.c:807:10: warning: unused variable 'result' [-Wunused-variable] bool result = TRUE; ^~~~~~ DBio.c: In function 'dbReadOpen': DBio.c:1021:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (pptr != NULL) ^ DBio.c: In function 'dbReadElements': DBio.c:1635:15: warning: implicit declaration of function 'GrGetStyleFromName' [-Wimplicit-function-declaration] istyle = GrGetStyleFromName(tstr); ^~~~~~~~~~~~~~~~~~ DBio.c:1636:6: warning: implicit declaration of function 'DBWElementStyle'; did you mean 'DBWElementInbox'? [-Wimplicit-function-declaration] DBWElementStyle(NULL, elementname, istyle, TRUE); ^~~~~~~~~~~~~~~ DBWElementInbox DBio.c: In function 'dbReadLabels': DBio.c:1796:13: warning: implicit declaration of function 'DBNameToFont'; did you mean 'GeoNameToPos'? [-Wimplicit-function-declaration] font = DBNameToFont(fontname); ^~~~~~~~~~~~ GeoNameToPos DBio.c:1937:13: warning: implicit declaration of function 'DBTechNameTypes'; did you mean 'DBTechNameType'? [-Wimplicit-function-declaration] type = DBTechNameTypes(layername, &rmask); ^~~~~~~~~~~~~~~ DBTechNameType DBio.c: In function 'DBCellFindScale': DBio.c:2072:10: warning: implicit declaration of function 'FindGCF' [-Wimplicit-function-declaration] ggcf = FindGCF(lab->lab_rect.r_xtop, ggcf); ^~~~~~~ DBio.c: In function 'DBCellWrite': DBio.c:2627:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tmpf = fopen(tmpname, "w")) ^~~~ DBio.c: In function 'DBWriteBackup': DBio.c:3055:12: warning: variable 'doslash' set but not used [-Wunused-but-set-variable] char *doslash, *template; ^~~~~~~ DBio.c: In function 'dbCellReadDef': DBio.c:561:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets(line, sizeof line, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBio.c: In function 'DBCellWrite': DBio.c:2702:6: warning: ignoring return value of 'truncate', declared with attribute warn_unused_result [-Wunused-result] (void) truncate(expandname, (long) statb.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBio.c:2731:6: warning: ignoring return value of 'truncate', declared with attribute warn_unused_result [-Wunused-result] (void) truncate(expandname, (long) statb.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBio.c: In function 'dbWritePaintFunc': DBio.c:2841:6: warning: 'dir' may be used uninitialized in this function [-Wmaybe-uninitialized] dir |= SplitDirection(tile); DBio.c: In function 'dbFgets': DBio.c:2010:5: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] if (c == EOF && cs == line) ^ DBio.c: In function 'dbReadLabels': DBio.c:1959:6: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized] DBPutLabel(cellDef, &r, orient, text, type, flags); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBio.c: In function 'DBFileRecovery': DBio.c:714:29: warning: '%s' directive writing up to 255 bytes into a region of size between 250 and 256 [-Wformat-overflow=] sprintf(tempname, "%s%s%s", tempdir, doslash, dp->d_name); ^~ In file included from /usr/include/stdio.h:861:0, from DBio.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 262) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling database/DBlabel.o rm -f DBlabel.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBlabel.c DBlabel.c: In function 'dbGetToken': DBlabel.c:1029:13: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] while (isspace(*lineptr)) lineptr++; ^~~~~~~ DBlabel.c: In function 'DBFontLabelSetBBox': DBlabel.c:1104:2: warning: implicit declaration of function 'DBFontChar'; did you mean 'TxGetChar'? [-Wimplicit-function-declaration] DBFontChar(label->lab_font, *tptr, NULL, &coffset, &cbbox); ^~~~~~~~~~ TxGetChar DBlabel.c:1087:19: warning: unused variable 'size' [-Wunused-variable] int i, ysave, size; ^~~~ DBlabel.c:1086:15: warning: unused variable 'labTransform' [-Wunused-variable] Transform labTransform = GeoIdentityTransform; ^~~~~~~~~~~~ DBlabel.c: In function 'DBLoadFont': DBlabel.c:1333:18: warning: unused variable 'y' [-Wunused-variable] int i, j, x, y, asciiidx, chardef, numidx; ^ DBlabel.c:1333:15: warning: unused variable 'x' [-Wunused-variable] int i, j, x, y, asciiidx, chardef, numidx; ^ DBlabel.c:1544:7: warning: 'curPath' may be used uninitialized in this function [-Wmaybe-uninitialized] CalcBezierPoints(lastPath, curvePath); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBlabel.c:1483:24: warning: 'newChar' may be used uninitialized in this function [-Wmaybe-uninitialized] newChar->fc_next = (FontChar *)mallocMagic(sizeof(FontChar)); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBlabel.c:1333:40: warning: 'numidx' may be used uninitialized in this function [-Wmaybe-uninitialized] int i, j, x, y, asciiidx, chardef, numidx; ^~~~~~ DBlabel.c:1479:37: warning: 'asciiidx' may be used uninitialized in this function [-Wmaybe-uninitialized] newFont->mf_vectors[asciiidx] = newChar; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ --- compiling database/DBlabel2.o rm -f DBlabel2.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBlabel2.c DBlabel2.c: In function 'dbSrLabelFunc': DBlabel2.c:172:9: warning: implicit declaration of function 'Match' [-Wimplicit-function-declaration] if (Match(labsr->labSrPattern, label->lab_text)) ^~~~~ DBlabel2.c: In function 'DBSrLabelLoc': DBlabel2.c:228:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (cp = strrchr(name, '/')) ^~ --- compiling database/DBpaint2.o rm -f DBpaint2.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBpaint2.c In file included from DBpaint2.c:30:0: DBpaint2.c: In function 'DBPaint': ../database/database.h:697:38: warning: implicit declaration of function 'DBMergeNMTiles0'; did you mean 'DBMergeNMTiles'? [-Wimplicit-function-declaration] #define DBMergeNMTiles(a, b, c) DBMergeNMTiles0(a, b, c, FALSE) ^ DBpaint2.c:73:6: note: in expansion of macro 'DBMergeNMTiles' DBMergeNMTiles(cellDef->cd_planes[pNum], &brect, &ui); ^~~~~~~~~~~~~~ DBpaint2.c:101:4: warning: implicit declaration of function 'DBSrPaintNMArea'; did you mean 'DBSrPaintArea'? [-Wimplicit-function-declaration] DBSrPaintNMArea((Tile *)NULL, cellDef->cd_planes[pNum], ^~~~~~~~~~~~~~~ DBSrPaintArea DBpaint2.c: In function 'DBPaintValid': DBpaint2.c:285:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (TTMaskHasType(&mmask, t)) ^ DBpaint2.c: In function 'DBEraseValid': DBpaint2.c:380:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (TTMaskHasType(&mmask, t)) ^ --- compiling database/DBpaint.o rm -f DBpaint.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBpaint.c DBpaint.c:22:23: warning: "/*" within comment [-Wcomment] /* #define PAINTDEBUG /* For debugging */ DBpaint.c: In function 'dbSplitUndo': DBpaint.c:170:41: warning: implicit declaration of function 'dbUndoEdit'; did you mean 'UndoInit'? [-Wimplicit-function-declaration] if (undo->pu_def != dbUndoLastCell) dbUndoEdit(undo->pu_def); ^~~~~~~~~~ UndoInit DBpaint.c: In function 'DBSplitTile': DBpaint.c:720:28: warning: unused variable 'tp' [-Wunused-variable] Tile *tile, *newtile, *tp; ^~ DBpaint.c: In function 'DBFracturePlane': DBpaint.c:781:11: warning: unused variable 'tp' [-Wunused-variable] Tile *tp; /* Used for paint */ ^~ DBpaint.c: In function 'DBNMPaintPlane0': DBpaint.c:1485:11: warning: unused variable 'arg' [-Wunused-variable] TileRect arg; ^~~ --- compiling database/DBprop.o rm -f DBprop.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBprop.c --- compiling database/DBtech.o rm -f DBtech.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBtech.c DBtech.c: In function 'DBTechInit': DBtech.c:81:5: warning: implicit declaration of function 'DBFontInitCurves' [-Wimplicit-function-declaration] DBFontInitCurves(); ^~~~~~~~~~~~~~~~ --- compiling database/DBtcontact.o rm -f DBtcontact.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBtcontact.c DBtcontact.c: In function 'DBTechAddContact': DBtcontact.c:219:13: warning: unused variable 'primary' [-Wunused-variable] char *primary; ^~~~~~~ DBtcontact.c:262:17: warning: implicit declaration of function 'dbTechContactResidues'; did you mean 'dbTechMatchResidues'? [-Wimplicit-function-declaration] nresidues = dbTechContactResidues(--argc, ++argv, contactType); ^~~~~~~~~~~~~~~~~~~~~ dbTechMatchResidues DBtcontact.c: In function 'dbTechAddOneStackedContact': DBtcontact.c:386:16: warning: implicit declaration of function 'dbTechNewStackedType'; did you mean 'DBTechNameType'? [-Wimplicit-function-declaration] stackedType = dbTechNewStackedType(lim->l_type, lin->l_type); ^~~~~~~~~~~~~~~~~~~~ DBTechNameType DBtcontact.c: In function 'DBTechTypesOnPlane': DBtcontact.c:829:15: warning: unused variable 'pmask' [-Wunused-variable] PlaneMask pmask; ^~~~~ --- compiling database/DBtechname.o rm -f DBtechname.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBtechname.c DBtechname.c: In function 'DBTechNameTypes': DBtechname.c:158:16: warning: unused variable 'lp' [-Wunused-variable] LayerInfo *lp; ^~ --- compiling database/DBtpaint.o rm -f DBtpaint.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBtpaint.c DBtpaint.c: In function 'DBTechInitCompose': DBtpaint.c:163:5: warning: "/*" within comment [-Wcomment] /* This is the slow loop, but it still faster than using */ DBtpaint.c: In function 'dbTechBitTypeInit': DBtpaint.c:297:25: warning: implicit declaration of function 'dbIsPrimary' [-Wimplicit-function-declaration] if(!composeFlag || dbIsPrimary(j)) ^~~~~~~~~~~ --- compiling database/DBtpaint2.o rm -f DBtpaint2.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBtpaint2.c DBtpaint2.c: In function 'dbComposePaintContact': DBtpaint2.c:396:6: warning: implicit declaration of function 'dbTechMatchResidues'; did you mean 'dbComposeResidues'? [-Wimplicit-function-declaration] dbTechMatchResidues(&rmask, &cmask, TRUE); ^~~~~~~~~~~~~~~~~~~ dbComposeResidues DBtpaint2.c: In function 'DBLockContact': DBtpaint2.c:741:9: warning: unused variable 'm' [-Wunused-variable] int m, pNum; ^ DBtpaint2.c:739:27: warning: unused variable 'eresult' [-Wunused-variable] TileType c, n, itype, eresult; ^~~~~~~ DBtpaint2.c:739:20: warning: unused variable 'itype' [-Wunused-variable] TileType c, n, itype, eresult; ^~~~~ DBtpaint2.c:739:14: warning: unused variable 'c' [-Wunused-variable] TileType c, n, itype, eresult; ^ DBtpaint2.c:738:16: warning: unused variable 'lpImage' [-Wunused-variable] LayerInfo *lpImage, *lpPaint; ^~~~~~~ DBtpaint2.c: In function 'DBUnlockContact': DBtpaint2.c:784:12: warning: unused variable 'pNum' [-Wunused-variable] int m, pNum; ^~~~ DBtpaint2.c:784:9: warning: unused variable 'm' [-Wunused-variable] int m, pNum; ^ DBtpaint2.c:783:22: warning: unused variable 'rmask' [-Wunused-variable] TileTypeBitMask *rmask; ^~~~~ DBtpaint2.c:782:24: warning: unused variable 'eresult' [-Wunused-variable] TileType n, itype, eresult; ^~~~~~~ DBtpaint2.c:782:17: warning: unused variable 'itype' [-Wunused-variable] TileType n, itype, eresult; ^~~~~ DBtpaint2.c: In function 'dbComposePaintContact': DBtpaint2.c:504:10: warning: 'itype' may be used uninitialized in this function [-Wmaybe-uninitialized] if (ptype != itype) ^ --- compiling database/DBtechtype.o rm -f DBtechtype.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBtechtype.c DBtechtype.c:72:1: warning: missing braces around initializer [-Wmissing-braces] { ^ DBtechtype.c:84:1: warning: missing braces around initializer [-Wmissing-braces] { ^ DBtechtype.c: In function 'DBTechInitPlane': DBtechtype.c:148:6: warning: implicit declaration of function 'niceabort' [-Wimplicit-function-declaration] niceabort(); ^~~~~~~~~ DBtechtype.c: In function 'DBTechAddAlias': DBtechtype.c:360:9: warning: implicit declaration of function 'DBTechNameTypeExact'; did you mean 'DBTechNameType'? [-Wimplicit-function-declaration] if (DBTechNameTypeExact(argv[0]) >= 0) ^~~~~~~~~~~~~~~~~~~ DBTechNameType DBtechtype.c:348:9: warning: unused variable 'pNum' [-Wunused-variable] int pNum; ^~~~ DBtechtype.c:347:11: warning: unused variable 'cp' [-Wunused-variable] char *cp; ^~ --- compiling database/DBtiles.o rm -f DBtiles.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBtiles.c --- compiling database/DBtimestmp.o rm -f DBtimestmp.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBtimestmp.c --- compiling database/DBundo.o rm -f DBundo.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBundo.c DBundo.c: In function 'dbUndoSplitForw': DBundo.c:263:5: warning: implicit declaration of function 'DBSplitTile'; did you mean 'SplitSide'? [-Wimplicit-function-declaration] DBSplitTile(dbUndoLastCell->cd_planes[us->sue_plane], &us->sue_point, ^~~~~~~~~~~ SplitSide DBundo.c:263:42: warning: array subscript has type 'char' [-Wchar-subscripts] DBSplitTile(dbUndoLastCell->cd_planes[us->sue_plane], &us->sue_point, ^ DBundo.c: In function 'dbUndoSplitBack': DBundo.c:279:5: warning: implicit declaration of function 'DBMergeNMTiles0'; did you mean 'DBMergeNMTiles'? [-Wimplicit-function-declaration] DBMergeNMTiles0(dbUndoLastCell->cd_planes[us->sue_plane], &srect, ^~~~~~~~~~~~~~~ DBMergeNMTiles DBundo.c:279:46: warning: array subscript has type 'char' [-Wchar-subscripts] DBMergeNMTiles0(dbUndoLastCell->cd_planes[us->sue_plane], &srect, ^ In file included from DBundo.c:31:0: DBundo.c: In function 'dbUndoPaintForw': DBundo.c:317:42: warning: array subscript has type 'char' [-Wchar-subscripts] DBNMPaintPlane(dbUndoLastCell->cd_planes[up->pue_plane], ^ ../database/database.h:700:56: note: in definition of macro 'DBNMPaintPlane' #define DBNMPaintPlane(a, b, c, d, e) DBNMPaintPlane0(a, b, c, d, e, PAINT_NORMAL) ^ ../database/database.h:1051:46: warning: array subscript has type 'char' [-Wchar-subscripts] #define DBStdEraseTbl(t,p) (&DBEraseResultTbl[p][t][0]) ^ ../database/database.h:700:65: note: in definition of macro 'DBNMPaintPlane' #define DBNMPaintPlane(a, b, c, d, e) DBNMPaintPlane0(a, b, c, d, e, PAINT_NORMAL) ^ DBundo.c:318:25: note: in expansion of macro 'DBStdEraseTbl' dinfo, &up->pue_rect, DBStdEraseTbl(loctype, up->pue_plane), ^~~~~~~~~~~~~ DBundo.c:324:42: warning: array subscript has type 'char' [-Wchar-subscripts] DBNMPaintPlane(dbUndoLastCell->cd_planes[up->pue_plane], ^ ../database/database.h:700:56: note: in definition of macro 'DBNMPaintPlane' #define DBNMPaintPlane(a, b, c, d, e) DBNMPaintPlane0(a, b, c, d, e, PAINT_NORMAL) ^ ../database/database.h:1051:46: warning: array subscript has type 'char' [-Wchar-subscripts] #define DBStdEraseTbl(t,p) (&DBEraseResultTbl[p][t][0]) ^ ../database/database.h:700:65: note: in definition of macro 'DBNMPaintPlane' #define DBNMPaintPlane(a, b, c, d, e) DBNMPaintPlane0(a, b, c, d, e, PAINT_NORMAL) ^ DBundo.c:325:25: note: in expansion of macro 'DBStdEraseTbl' dinfo, &up->pue_rect, DBStdEraseTbl(loctype, up->pue_plane), ^~~~~~~~~~~~~ DBundo.c:329:40: warning: array subscript has type 'char' [-Wchar-subscripts] DBPaintPlane(dbUndoLastCell->cd_planes[up->pue_plane], &up->pue_rect, ^ ../database/database.h:696:49: note: in definition of macro 'DBPaintPlane' #define DBPaintPlane(a, b, c, d) DBPaintPlane0(a, b, c, d, PAINT_NORMAL) ^ ../database/database.h:1051:46: warning: array subscript has type 'char' [-Wchar-subscripts] #define DBStdEraseTbl(t,p) (&DBEraseResultTbl[p][t][0]) ^ ../database/database.h:696:55: note: in definition of macro 'DBPaintPlane' #define DBPaintPlane(a, b, c, d) DBPaintPlane0(a, b, c, d, PAINT_NORMAL) ^ DBundo.c:330:4: note: in expansion of macro 'DBStdEraseTbl' DBStdEraseTbl(up->pue_oldtype, up->pue_plane), ^~~~~~~~~~~~~ DBundo.c:338:42: warning: array subscript has type 'char' [-Wchar-subscripts] DBNMPaintPlane(dbUndoLastCell->cd_planes[up->pue_plane], ^ ../database/database.h:700:56: note: in definition of macro 'DBNMPaintPlane' #define DBNMPaintPlane(a, b, c, d, e) DBNMPaintPlane0(a, b, c, d, e, PAINT_NORMAL) ^ ../database/database.h:1050:46: warning: array subscript has type 'char' [-Wchar-subscripts] #define DBStdPaintTbl(t,p) (&DBPaintResultTbl[p][t][0]) ^ ../database/database.h:700:65: note: in definition of macro 'DBNMPaintPlane' #define DBNMPaintPlane(a, b, c, d, e) DBNMPaintPlane0(a, b, c, d, e, PAINT_NORMAL) ^ DBundo.c:339:25: note: in expansion of macro 'DBStdPaintTbl' dinfo, &up->pue_rect, DBStdPaintTbl(loctype, up->pue_plane), ^~~~~~~~~~~~~ DBundo.c:345:42: warning: array subscript has type 'char' [-Wchar-subscripts] DBNMPaintPlane(dbUndoLastCell->cd_planes[up->pue_plane], ^ ../database/database.h:700:56: note: in definition of macro 'DBNMPaintPlane' #define DBNMPaintPlane(a, b, c, d, e) DBNMPaintPlane0(a, b, c, d, e, PAINT_NORMAL) ^ ../database/database.h:1050:46: warning: array subscript has type 'char' [-Wchar-subscripts] #define DBStdPaintTbl(t,p) (&DBPaintResultTbl[p][t][0]) ^ ../database/database.h:700:65: note: in definition of macro 'DBNMPaintPlane' #define DBNMPaintPlane(a, b, c, d, e) DBNMPaintPlane0(a, b, c, d, e, PAINT_NORMAL) ^ DBundo.c:346:25: note: in expansion of macro 'DBStdPaintTbl' dinfo, &up->pue_rect, DBStdPaintTbl(loctype, up->pue_plane), ^~~~~~~~~~~~~ DBundo.c:350:40: warning: array subscript has type 'char' [-Wchar-subscripts] DBPaintPlane(dbUndoLastCell->cd_planes[up->pue_plane], &up->pue_rect, ^ ../database/database.h:696:49: note: in definition of macro 'DBPaintPlane' #define DBPaintPlane(a, b, c, d) DBPaintPlane0(a, b, c, d, PAINT_NORMAL) ^ ../database/database.h:1050:46: warning: array subscript has type 'char' [-Wchar-subscripts] #define DBStdPaintTbl(t,p) (&DBPaintResultTbl[p][t][0]) ^ ../database/database.h:696:55: note: in definition of macro 'DBPaintPlane' #define DBPaintPlane(a, b, c, d) DBPaintPlane0(a, b, c, d, PAINT_NORMAL) ^ DBundo.c:351:4: note: in expansion of macro 'DBStdPaintTbl' DBStdPaintTbl(up->pue_newtype, up->pue_plane), ^~~~~~~~~~~~~ DBundo.c:353:1: warning: label 'endPaintFor' defined but not used [-Wunused-label] endPaintFor: ^~~~~~~~~~~ In file included from DBundo.c:31:0: DBundo.c: In function 'dbUndoPaintBack': DBundo.c:371:42: warning: array subscript has type 'char' [-Wchar-subscripts] DBNMPaintPlane(dbUndoLastCell->cd_planes[up->pue_plane], ^ ../database/database.h:700:56: note: in definition of macro 'DBNMPaintPlane' #define DBNMPaintPlane(a, b, c, d, e) DBNMPaintPlane0(a, b, c, d, e, PAINT_NORMAL) ^ ../database/database.h:1051:46: warning: array subscript has type 'char' [-Wchar-subscripts] #define DBStdEraseTbl(t,p) (&DBEraseResultTbl[p][t][0]) ^ ../database/database.h:700:65: note: in definition of macro 'DBNMPaintPlane' #define DBNMPaintPlane(a, b, c, d, e) DBNMPaintPlane0(a, b, c, d, e, PAINT_NORMAL) ^ DBundo.c:372:25: note: in expansion of macro 'DBStdEraseTbl' dinfo, &up->pue_rect, DBStdEraseTbl(loctype, up->pue_plane), ^~~~~~~~~~~~~ DBundo.c:378:42: warning: array subscript has type 'char' [-Wchar-subscripts] DBNMPaintPlane(dbUndoLastCell->cd_planes[up->pue_plane], ^ ../database/database.h:700:56: note: in definition of macro 'DBNMPaintPlane' #define DBNMPaintPlane(a, b, c, d, e) DBNMPaintPlane0(a, b, c, d, e, PAINT_NORMAL) ^ ../database/database.h:1051:46: warning: array subscript has type 'char' [-Wchar-subscripts] #define DBStdEraseTbl(t,p) (&DBEraseResultTbl[p][t][0]) ^ ../database/database.h:700:65: note: in definition of macro 'DBNMPaintPlane' #define DBNMPaintPlane(a, b, c, d, e) DBNMPaintPlane0(a, b, c, d, e, PAINT_NORMAL) ^ DBundo.c:379:25: note: in expansion of macro 'DBStdEraseTbl' dinfo, &up->pue_rect, DBStdEraseTbl(loctype, up->pue_plane), ^~~~~~~~~~~~~ DBundo.c:383:40: warning: array subscript has type 'char' [-Wchar-subscripts] DBPaintPlane(dbUndoLastCell->cd_planes[up->pue_plane], &up->pue_rect, ^ ../database/database.h:696:49: note: in definition of macro 'DBPaintPlane' #define DBPaintPlane(a, b, c, d) DBPaintPlane0(a, b, c, d, PAINT_NORMAL) ^ ../database/database.h:1051:46: warning: array subscript has type 'char' [-Wchar-subscripts] #define DBStdEraseTbl(t,p) (&DBEraseResultTbl[p][t][0]) ^ ../database/database.h:696:55: note: in definition of macro 'DBPaintPlane' #define DBPaintPlane(a, b, c, d) DBPaintPlane0(a, b, c, d, PAINT_NORMAL) ^ DBundo.c:384:4: note: in expansion of macro 'DBStdEraseTbl' DBStdEraseTbl(up->pue_newtype, up->pue_plane), ^~~~~~~~~~~~~ DBundo.c:392:42: warning: array subscript has type 'char' [-Wchar-subscripts] DBNMPaintPlane(dbUndoLastCell->cd_planes[up->pue_plane], dinfo, ^ ../database/database.h:700:56: note: in definition of macro 'DBNMPaintPlane' #define DBNMPaintPlane(a, b, c, d, e) DBNMPaintPlane0(a, b, c, d, e, PAINT_NORMAL) ^ ../database/database.h:1050:46: warning: array subscript has type 'char' [-Wchar-subscripts] #define DBStdPaintTbl(t,p) (&DBPaintResultTbl[p][t][0]) ^ ../database/database.h:700:65: note: in definition of macro 'DBNMPaintPlane' #define DBNMPaintPlane(a, b, c, d, e) DBNMPaintPlane0(a, b, c, d, e, PAINT_NORMAL) ^ DBundo.c:393:18: note: in expansion of macro 'DBStdPaintTbl' &up->pue_rect, DBStdPaintTbl(loctype, up->pue_plane), ^~~~~~~~~~~~~ DBundo.c:399:42: warning: array subscript has type 'char' [-Wchar-subscripts] DBNMPaintPlane(dbUndoLastCell->cd_planes[up->pue_plane], dinfo, ^ ../database/database.h:700:56: note: in definition of macro 'DBNMPaintPlane' #define DBNMPaintPlane(a, b, c, d, e) DBNMPaintPlane0(a, b, c, d, e, PAINT_NORMAL) ^ ../database/database.h:1050:46: warning: array subscript has type 'char' [-Wchar-subscripts] #define DBStdPaintTbl(t,p) (&DBPaintResultTbl[p][t][0]) ^ ../database/database.h:700:65: note: in definition of macro 'DBNMPaintPlane' #define DBNMPaintPlane(a, b, c, d, e) DBNMPaintPlane0(a, b, c, d, e, PAINT_NORMAL) ^ DBundo.c:400:18: note: in expansion of macro 'DBStdPaintTbl' &up->pue_rect, DBStdPaintTbl(loctype, up->pue_plane), ^~~~~~~~~~~~~ DBundo.c:403:43: warning: array subscript has type 'char' [-Wchar-subscripts] DBMergeNMTiles0(dbUndoLastCell->cd_planes[up->pue_plane], ^ In file included from DBundo.c:31:0: DBundo.c:407:40: warning: array subscript has type 'char' [-Wchar-subscripts] DBPaintPlane(dbUndoLastCell->cd_planes[up->pue_plane], &up->pue_rect, ^ ../database/database.h:696:49: note: in definition of macro 'DBPaintPlane' #define DBPaintPlane(a, b, c, d) DBPaintPlane0(a, b, c, d, PAINT_NORMAL) ^ ../database/database.h:1050:46: warning: array subscript has type 'char' [-Wchar-subscripts] #define DBStdPaintTbl(t,p) (&DBPaintResultTbl[p][t][0]) ^ ../database/database.h:696:55: note: in definition of macro 'DBPaintPlane' #define DBPaintPlane(a, b, c, d) DBPaintPlane0(a, b, c, d, PAINT_NORMAL) ^ DBundo.c:408:4: note: in expansion of macro 'DBStdPaintTbl' DBStdPaintTbl(up->pue_oldtype, up->pue_plane), ^~~~~~~~~~~~~ DBundo.c:411:1: warning: label 'endPaintBack' defined but not used [-Wunused-label] endPaintBack: ^~~~~~~~~~~~ DBundo.c: In function 'dbUndoCellForw': DBundo.c:717:6: warning: implicit declaration of function 'DBUnLinkCell'; did you mean 'DBUnlinkCell'? [-Wimplicit-function-declaration] DBUnLinkCell(use, up->cue_parent); ^~~~~~~~~~~~ DBUnlinkCell DBundo.c:733:13: warning: implicit declaration of function 'DBReLinkCell'; did you mean 'DBLinkCell'? [-Wimplicit-function-declaration] (void) DBReLinkCell(use, up->cue_id); ^~~~~~~~~~~~ DBLinkCell --- linking libdatabase.o rm -f libdatabase.o ld -r DBbound.o DBcell.o DBcellbox.o DBcellcopy.o DBcellname.o DBcellsrch.o DBcellsel.o DBcellsubr.o DBconnect.o DBcount.o DBexpand.o DBio.o DBlabel.o DBlabel2.o DBpaint2.o DBpaint.o DBprop.o DBtech.o DBtcontact.o DBtechname.o DBtpaint.o DBtpaint2.o DBtechtype.o DBtiles.o DBtimestmp.o DBundo.o -o libdatabase.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/database' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/dbwind' --- compiling dbwind/DBWcommands.o rm -f DBWcommands.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBWcommands.c --- compiling dbwind/DBWdisplay.o rm -f DBWdisplay.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBWdisplay.c DBWdisplay.c: In function 'DBWredisplay': DBWdisplay.c:170:29: warning: unused variable 'rmask' [-Wunused-variable] TileTypeBitMask layers, rmask; ^~~~~ DBWdisplay.c: In function 'dbwPaintFunc': DBWdisplay.c:652:5: warning: implicit declaration of function 'GrBox'; did you mean 'GrLock'? [-Wimplicit-function-declaration] GrBox(dbwWindow, &scx->scx_trans, tile); ^~~~~ GrLock DBWdisplay.c: In function 'DBWDrawLabel': DBWdisplay.c:703:9: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ DBWdisplay.c: In function 'DBWDrawFontLabel': DBWdisplay.c:815:2: warning: implicit declaration of function 'GeoTransPointDelta'; did you mean 'GeoTransPoint'? [-Wimplicit-function-declaration] GeoTransPointDelta(trans, &label->lab_corners[i], &newcorner); ^~~~~~~~~~~~~~~~~~ GeoTransPoint DBWdisplay.c:837:14: warning: implicit declaration of function 'GeoTransAngle'; did you mean 'GeoTransPos'? [-Wimplicit-function-declaration] rotate = GeoTransAngle(trans, label->lab_rotate); ^~~~~~~~~~~~~ GeoTransPos DBWdisplay.c:897:2: warning: implicit declaration of function 'GrFontText'; did you mean 'GrPutText'? [-Wimplicit-function-declaration] GrFontText(label->lab_text, style, p, label->lab_font, ^~~~~~~~~~ GrPutText DBWdisplay.c:791:12: warning: unused variable 'rads' [-Wunused-variable] double rads; ^~~~ DBWdisplay.c: In function 'dbwLabelFunc': DBWdisplay.c:930:20: warning: unused variable 'screenRot' [-Wunused-variable] int screenPos, screenRot, newStyle; ^~~~~~~~~ DBWdisplay.c: In function 'DBWTechInitStyles': DBWdisplay.c:1640:2: warning: implicit declaration of function 'TxError'; did you mean 'TechError'? [-Wimplicit-function-declaration] TxError("Error: Attempting to define tech styles before reading " ^~~~~~~ TechError --- compiling dbwind/DBWbuttons.o rm -f DBWbuttons.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBWbuttons.c DBWbuttons.c: In function 'DBWBoxHandler': DBWbuttons.c:351:6: warning: implicit declaration of function 'CmdPaintEraseButton' [-Wimplicit-function-declaration] CmdPaintEraseButton(w, &cmd->tx_p, TRUE); ^~~~~~~~~~~~~~~~~~~ --- compiling dbwind/DBWelement.o rm -f DBWelement.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBWelement.c DBWelement.c: In function 'DBWPrintElements': DBWelement.c:191:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&elementTable, &hs)) ^~ DBWelement.c:193:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (elem = (DBWElement *)HashGetValue(he)) ^~~~ DBWelement.c: In function 'dbwElementUndraw': DBWelement.c:458:14: warning: variable 'windowRoot' set but not used [-Wunused-but-set-variable] CellDef *windowRoot; ^~~~~~~~~~ DBWelement.c: In function 'DBWElementDelete': DBWelement.c:529:14: warning: unused variable 'currentRoot' [-Wunused-variable] CellDef *currentRoot; ^~~~~~~~~~~ DBWelement.c: In function 'DBWElementNames': DBWelement.c:597:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&elementTable, &hs)) ^~ DBWelement.c:599:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (elem = (DBWElement *)HashGetValue(he)) ^~~~ DBWelement.c: In function 'DBWElementInbox': DBWelement.c:639:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&elementTable, &hs)) ^~ DBWelement.c:641:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (elem = (DBWElement *)HashGetValue(he)) ^~~~ DBWelement.c:632:9: warning: unused variable 'sqdist' [-Wunused-variable] int sqdist; ^~~~~~ DBWelement.c: In function 'DBWElementAdd': DBWelement.c:718:5: warning: implicit declaration of function 'GeoCanonicalRect'; did you mean 'GeoTransRect'? [-Wimplicit-function-declaration] GeoCanonicalRect(area, &elem->area); ^~~~~~~~~~~~~~~~ GeoTransRect DBWelement.c: In function 'DBWElementText': DBWelement.c:856:2: warning: implicit declaration of function 'TxError'; did you mean 'perror'? [-Wimplicit-function-declaration] TxError("No such element %s\n", ename); ^~~~~~~ perror DBWelement.c: In function 'DBWElementStyle': DBWelement.c:1118:7: warning: implicit declaration of function 'TxPrintf'; did you mean 'llrintf'? [-Wimplicit-function-declaration] TxPrintf("Warning: Element %s has no styles!\n", ename); ^~~~~~~~ llrintf DBWelement.c: In function 'DBWElementPos': DBWelement.c:1160:10: warning: unused variable 'prect' [-Wunused-variable] Rect prect; ^~~~~ --- compiling dbwind/DBWfdback.o rm -f DBWfdback.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBWfdback.c DBWfdback.c: In function 'DBWFeedbackRedraw': DBWfdback.c:201:6: warning: implicit declaration of function 'TxError'; did you mean 'perror'? [-Wimplicit-function-declaration] TxError("Internal error: Feedback area exceeds integer bounds " ^~~~~~~ perror DBWfdback.c:228:6: warning: implicit declaration of function 'GrDiagonal'; did you mean 'strsignal'? [-Wimplicit-function-declaration] GrDiagonal(&screenArea, fb->fb_style); ^~~~~~~~~~ strsignal DBWfdback.c: In function 'DBWFeedbackClear': DBWfdback.c:276:9: warning: unused variable 'i' [-Wunused-variable] int i, oldCount; ^ DBWfdback.c: In function 'DBWFeedbackRedraw': DBWfdback.c:186:65: warning: 'halfScale' may be used uninitialized in this function [-Wmaybe-uninitialized] x = ((dlong)(tmp.r_xbot - worldArea.r_xbot) * window->w_scale) + halfScale; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ --- compiling dbwind/DBWhlights.o rm -f DBWhlights.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBWhlights.c DBWhlights.c: In function 'dbwhlRedrawFunc': DBWhlights.c:239:7: warning: unused variable 'needErase' [-Wunused-variable] bool needErase = TRUE; ^~~~~~~~~ --- compiling dbwind/DBWprocs.o rm -f DBWprocs.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBWprocs.c DBWprocs.c: In function 'DBWloadWindow': DBWprocs.c:293:9: warning: variable 'res' set but not used [-Wunused-but-set-variable] int res, newEdit, error_val; ^~~ DBWprocs.c: In function 'DBWcommands': DBWprocs.c:566:9: warning: unused variable 'cmdNum' [-Wunused-variable] int cmdNum; ^~~~~~ DBWprocs.c: In function 'DBWinit': DBWprocs.c:691:5: warning: implicit declaration of function 'DBWInitCommands'; did you mean 'DBWcommands'? [-Wimplicit-function-declaration] DBWInitCommands(); ^~~~~~~~~~~~~~~ DBWcommands DBWprocs.c:699:5: warning: implicit declaration of function 'DBUndoInit'; did you mean 'UndoInit'? [-Wimplicit-function-declaration] DBUndoInit(); ^~~~~~~~~~ UndoInit DBWprocs.c:700:5: warning: implicit declaration of function 'dbwUndoInit'; did you mean 'UndoInit'? [-Wimplicit-function-declaration] dbwUndoInit(); ^~~~~~~~~~~ UndoInit DBWprocs.c:717:5: warning: implicit declaration of function 'dbwFeedbackInit'; did you mean 'dbwElementInit'? [-Wimplicit-function-declaration] dbwFeedbackInit(); ^~~~~~~~~~~~~~~ dbwElementInit DBWprocs.c:670:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ DBWprocs.c:669:16: warning: variable 'initialWindow' set but not used [-Wunused-but-set-variable] MagWindow *initialWindow; ^~~~~~~~~~~~~ --- compiling dbwind/DBWtools.o rm -f DBWtools.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBWtools.c DBWtools.c: In function 'ToolScaleBox': DBWtools.c:201:5: warning: implicit declaration of function 'DBScalePoint'; did you mean 'DBUsePrint'? [-Wimplicit-function-declaration] DBScalePoint(&boxRootArea.r_ll, scalen, scaled); ^~~~~~~~~~~~ DBUsePrint --- compiling dbwind/DBWundo.o rm -f DBWundo.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DBWundo.c DBWundo.c: In function 'dbwUndoChangeEdit': DBWundo.c:211:26: warning: missing braces around initializer [-Wmissing-braces] static Rect origin = {-1, -1, 1, 1}; ^ { } { } --- linking libdbwind.o rm -f libdbwind.o ld -r DBWcommands.o DBWdisplay.o DBWbuttons.o DBWelement.o DBWfdback.o DBWhlights.o DBWprocs.o DBWtools.o DBWundo.o -o libdbwind.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/dbwind' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/debug' --- compiling debug/debugFlags.o rm -f debugFlags.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c debugFlags.c --- compiling debug/hist.o rm -f hist.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c hist.c hist.c: In function 'HistPrint': hist.c:197:18: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] fprintf(fp, "Histogram %"DLONG_PREFIX"d", (dlong) h->hi_title); ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ hist.c:197:44: note: format string is defined here fprintf(fp, "Histogram %"DLONG_PREFIX"d", (dlong) h->hi_title); ~~~~~~~~~~~~~~~^ --- linking libdebug.o rm -f libdebug.o ld -r debugFlags.o hist.o -o libdebug.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/debug' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/drc' --- compiling drc/DRCarray.o rm -f DRCarray.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DRCarray.c DRCarray.c:45:35: warning: missing braces around initializer [-Wmissing-braces] static DRCCookie drcArrayCookie = { ^ DRCarray.c:47:7: { 0 }, { 0 }, { } { } DRCarray.c: In function 'drcArrayFunc': DRCarray.c:178:23: warning: implicit declaration of function 'DRCBasicCheck'; did you mean 'DRCCheck'? [-Wimplicit-function-declaration] drcArrayCount += DRCBasicCheck(DRCdef, &yankArea, &errorArea, ^~~~~~~~~~~~~ DRCCheck DRCarray.c: In function 'DRCArrayCheck': DRCarray.c:301:12: warning: implicit declaration of function 'DBCellSrArea'; did you mean 'DBCellSrDefs'? [-Wimplicit-function-declaration] (void) DBCellSrArea(&scx, drcArrayFunc, (ClientData) area); ^~~~~~~~~~~~ DBCellSrDefs DRCarray.c:279:23: warning: unused variable 'savedEraseTable' [-Wunused-variable] PaintResultType (*savedEraseTable)[NT][NT]; ^~~~~~~~~~~~~~~ --- compiling drc/DRCbasic.o rm -f DRCbasic.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DRCbasic.c DRCbasic.c:46:37: warning: missing braces around initializer [-Wmissing-braces] static DRCCookie drcOverlapCookie = { ^ DRCbasic.c:48:7: { 0 }, { 0 }, { } { } DRCbasic.c: In function 'areaCheck': DRCbasic.c:172:15: warning: unused variable 'i' [-Wunused-variable] unsigned int i; ^ DRCbasic.c: In function 'DRCBasicCheck': DRCbasic.c:345:2: warning: implicit declaration of function 'DBResetTilePlane'; did you mean 'DBFreePaintPlane'? [-Wimplicit-function-declaration] DBResetTilePlane(celldef->cd_planes[planeNum], DRC_UNPROCESSED); ^~~~~~~~~~~~~~~~ DBFreePaintPlane DRCbasic.c:349:5: warning: implicit declaration of function 'drcCifCheck'; did you mean 'areaCheck'? [-Wimplicit-function-declaration] drcCifCheck(&arg); ^~~~~~~~~~~ areaCheck DRCbasic.c: In function 'drcTile': DRCbasic.c:423:7: warning: implicit declaration of function 'drcCheckAngles' [-Wimplicit-function-declaration] drcCheckAngles(tile, arg, cptr); ^~~~~~~~~~~~~~ DRCbasic.c:538:4: warning: implicit declaration of function 'drcCheckArea' [-Wimplicit-function-declaration] drcCheckArea(tile, arg, cptr); ^~~~~~~~~~~~ DRCbasic.c:585:4: warning: implicit declaration of function 'drcCheckMaxwidth'; did you mean 'drcCanonicalMaxwidth'? [-Wimplicit-function-declaration] drcCheckMaxwidth(tile, arg, cptr); ^~~~~~~~~~~~~~~~ drcCanonicalMaxwidth DRCbasic.c:597:4: warning: implicit declaration of function 'drcCheckRectSize'; did you mean 'GeoRectRectSide'? [-Wimplicit-function-declaration] drcCheckRectSize(tile, arg, cptr); ^~~~~~~~~~~~~~~~ GeoRectRectSide DRCbasic.c:388:30: warning: variable 'result' set but not used [-Wunused-but-set-variable] int cdist, dist, ccdist, result; ^~~~~~ DRCbasic.c:388:22: warning: unused variable 'ccdist' [-Wunused-variable] int cdist, dist, ccdist, result; ^~~~~~ DRCbasic.c:384:31: warning: unused variable 'rMask' [-Wunused-variable] TileTypeBitMask tmpMask, *rMask; ^~~~~ --- compiling drc/DRCcif.o rm -f DRCcif.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DRCcif.c DRCcif.c: In function 'drcCifSetStyle': DRCcif.c:120:3: warning: implicit declaration of function 'TechError'; did you mean 'CIFError'? [-Wimplicit-function-declaration] TechError("DRC cif extensions are not enabled.\n\t" ^~~~~~~~~ CIFError DRCcif.c: In function 'drcCifWidth': DRCcif.c:203:5: warning: implicit declaration of function 'drcAssign' [-Wimplicit-function-declaration] drcAssign(dpnew, centidistance, dpnext, &CIFSolidBits, ^~~~~~~~~ DRCcif.c:174:32: warning: unused variable 'tmp1' [-Wunused-variable] TileTypeBitMask set, setC, tmp1; ^~~~ DRCcif.c:174:26: warning: unused variable 'setC' [-Wunused-variable] TileTypeBitMask set, setC, tmp1; ^~~~ DRCcif.c:174:21: warning: unused variable 'set' [-Wunused-variable] TileTypeBitMask set, setC, tmp1; ^~~ DRCcif.c: In function 'drcCifSpacing': DRCcif.c:235:17: warning: unused variable 'j' [-Wunused-variable] TileType i, j; ^ DRCcif.c: In function 'drcCifCheck': DRCcif.c:526:22: warning: unused variable 'mask' [-Wunused-variable] TileTypeBitMask *mask; ^~~~ DRCcif.c: In function 'drcCifArea': DRCcif.c:1042:9: warning: unused variable 'plane' [-Wunused-variable] int plane; ^~~~~ DRCcif.c:1041:17: warning: unused variable 'j' [-Wunused-variable] TileType i, j; ^ DRCcif.c:1039:32: warning: unused variable 'tmp1' [-Wunused-variable] TileTypeBitMask set, setC, tmp1; ^~~~ DRCcif.c:1039:26: warning: unused variable 'setC' [-Wunused-variable] TileTypeBitMask set, setC, tmp1; ^~~~ DRCcif.c:1039:21: warning: unused variable 'set' [-Wunused-variable] TileTypeBitMask set, setC, tmp1; ^~~ DRCcif.c: In function 'drcCifMaxwidth': DRCcif.c:1103:9: warning: unused variable 'plane' [-Wunused-variable] int plane; ^~~~~ DRCcif.c:1102:17: warning: unused variable 'j' [-Wunused-variable] TileType i, j; ^ DRCcif.c:1100:32: warning: unused variable 'tmp1' [-Wunused-variable] TileTypeBitMask set, setC, tmp1; ^~~~ DRCcif.c:1100:26: warning: unused variable 'setC' [-Wunused-variable] TileTypeBitMask set, setC, tmp1; ^~~~ DRCcif.c:1100:21: warning: unused variable 'set' [-Wunused-variable] TileTypeBitMask set, setC, tmp1; ^~~ DRCcif.c: In function 'drcCifArea': DRCcif.c:1067:12: warning: 'thislayer' may be used uninitialized in this function [-Wmaybe-uninitialized] dpnext = drcCifRules[thislayer][DRC_CIF_SPACE]; ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DRCcif.c: In function 'drcCifMaxwidth': DRCcif.c:1137:12: warning: 'thislayer' may be used uninitialized in this function [-Wmaybe-uninitialized] dpnext = drcCifRules[thislayer][DRC_CIF_SPACE]; ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling drc/DRCcontin.o rm -f DRCcontin.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DRCcontin.c DRCcontin.c: In function 'DRCContinuous': DRCcontin.c:534:1: warning: label 'checkDone' defined but not used [-Wunused-label] checkDone: ^~~~~~~~~ DRCcontin.c: In function 'drcCheckTile': DRCcontin.c:678:12: warning: implicit declaration of function 'DRCInteractionCheck'; did you mean 'DRCFindInteractions'? [-Wimplicit-function-declaration] (void) DRCInteractionCheck(celldef, &square, &erasebox, ^~~~~~~~~~~~~~~~~~~ DRCFindInteractions DRCcontin.c:684:12: warning: implicit declaration of function 'DRCArrayCheck'; did you mean 'DRCCheck'? [-Wimplicit-function-declaration] (void) DRCArrayCheck(celldef, &erasebox, drcPaintError, ^~~~~~~~~~~~~ DRCCheck --- compiling drc/DRCmain.o rm -f DRCmain.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DRCmain.c DRCmain.c: In function 'drcPrintError': DRCmain.c:190:17: warning: unused variable 'r' [-Wunused-variable] Rect *area, r; ^ DRCmain.c: In function 'drcWhyFunc': DRCmain.c:533:12: warning: implicit declaration of function 'DRCInteractionCheck'; did you mean 'DRCFindInteractions'? [-Wimplicit-function-declaration] (void) DRCInteractionCheck(def, &scx->scx_area, &scx->scx_area, ^~~~~~~~~~~~~~~~~~~ DRCFindInteractions DRCmain.c:536:12: warning: implicit declaration of function 'DRCArrayCheck'; did you mean 'DRCCheck'? [-Wimplicit-function-declaration] (void) DRCArrayCheck(def, &scx->scx_area, ^~~~~~~~~~~~~ DRCCheck --- compiling drc/DRCsubcell.o rm -f DRCsubcell.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DRCsubcell.c DRCsubcell.c:58:37: warning: missing braces around initializer [-Wmissing-braces] static DRCCookie drcSubcellCookie = { ^ DRCsubcell.c:60:7: { 0 }, { 0 }, { } { } DRCsubcell.c: In function 'DRCInteractionCheck': DRCsubcell.c:634:17: warning: implicit declaration of function 'DRCBasicCheck'; did you mean 'DRCCheck'? [-Wimplicit-function-declaration] DRCBasicCheck(def, &intArea, &subArea, func, cdarg); ^~~~~~~~~~~~~ DRCCheck DRCsubcell.c: In function 'drcIncCount': DRCsubcell.c:796:5: warning: value computed is not used [-Wunused-value] *count++; ^~~~~~~~ --- compiling drc/DRCtech.o rm -f DRCtech.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DRCtech.c DRCtech.c: In function 'drcLoadStyle': DRCtech.c:431:14: warning: implicit declaration of function 'TechSectionGetMask'; did you mean 'SelectionRequest'? [-Wimplicit-function-declaration] invdrc = TechSectionGetMask("drc", NULL); ^~~~~~~~~~~~~~~~~~ SelectionRequest DRCtech.c:432:5: warning: implicit declaration of function 'TechLoad' [-Wimplicit-function-declaration] TechLoad(NULL, invdrc); ^~~~~~~~ DRCtech.c: In function 'DRCReloadCurStyle': DRCtech.c:456:11: warning: unused variable 'stylename' [-Wunused-variable] char *stylename; ^~~~~~~~~ DRCtech.c: In function 'DRCTechStyleInit': DRCtech.c:607:5: warning: implicit declaration of function 'drcCifInit'; did you mean 'drcCifArea'? [-Wimplicit-function-declaration] drcCifInit(); ^~~~~~~~~~ drcCifArea DRCtech.c: In function 'DRCTechLine': DRCtech.c:773:25: warning: missing braces around initializer [-Wmissing-braces] char *locargv[2][10] = {"style", "default"}; ^ { } DRCtech.c:840:15: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] for (j = 1; isspace(*(cptr - j)); j++) ^~~~~~~ DRCtech.c: In function 'DRCTechAddRule': DRCtech.c:949:20: warning: missing braces around initializer [-Wmissing-braces] } ruleKeys[] = { ^ "angles", 4, 4, drcAngles, { "layers 45|90 why", } "edge", 8, 9, drcEdge, { "layers1 layers2 distance okTypes cornerTypes cornerDistance why [plane]", } "edge4way", 8, 9, drcEdge, { "layers1 layers2 distance okTypes cornerTypes cornerDistance why [plane]", } "exact_overlap", 2, 2, drcExactOverlap, { "layers", } "extend", 5, 6, drcExtend, { "layers1 layers2 distance why", } "no_overlap", 3, 3, drcNoOverlap, { "layers1 layers2", } "overhang", 5, 5, drcOverhang, { "layers1 layers2 distance why", } "rect_only", 3, 3, drcRectOnly, { "layers why", } "spacing", 6, 7, drcSpacing, { "layers1 layers2 separation [layers3] adjacency why", } "stepsize", 2, 2, drcStepSize, { "step_size", } "surround", 6, 6, drcSurround, { "layers1 layers2 distance presence why", } "width", 4, 4, drcWidth, { "layers width why", } "widespacing", 7, 7, drcSpacing, { "layers1 width layers2 separation adjacency why", } "area", 5, 5, drcArea, { "layers area horizon why", } "maxwidth", 4, 5, drcMaxwidth, { "layers maxwidth bends why", } "cifstyle", 2, 2, drcCifSetStyle, { "cif_style", } "cifwidth", 4, 4, drcCifWidth, { "layers width why", } "cifspacing", 6, 6, drcCifSpacing, { "layers1 layers2 separation adjacency why", } "cifarea", 5, 5, drcCifArea, { "layers area horizon why", } "cifmaxwidth", 5, 5, drcCifMaxwidth, { "layers maxwidth bends why", } "rectangle", 5, 5, drcRectangle, { "layers maxwidth [even|odd|any] why", } 0 { }, *rp; } DRCtech.c: In function 'drcExtend': DRCtech.c:1124:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pset = (DBTypesOnSamePlane(i, j) & pMask2)) ^~~~ DRCtech.c: In function 'drcWidth': DRCtech.c:1268:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pset = (DBTypesOnSamePlane(i, j) & pmask)) ^~~~ DRCtech.c: In function 'drcArea': DRCtech.c:1352:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pset = (DBTypesOnSamePlane(i, j) & pmask)) ^~~~ DRCtech.c: In function 'drcMaxwidth': DRCtech.c:1476:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pset = (DBTypesOnSamePlane(i, j) & pmask)) ^~~~ DRCtech.c: In function 'drcAngles': DRCtech.c:1518:17: warning: unused variable 'j' [-Wunused-variable] TileType i, j; ^ DRCtech.c: In function 'drcSpacing3': DRCtech.c:1616:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pset = (DBTypesOnSamePlane(i, j) & pmask)) ^~~~ DRCtech.c:1579:11: warning: unused variable 'adjacency' [-Wunused-variable] char *adjacency = argv[4]; ^~~~~~~~~ DRCtech.c: In function 'drcMaskSpacing': DRCtech.c:1791:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pset = (DBTypesOnSamePlane(i, j) & pmask1)) ^~~~ DRCtech.c:1924:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pset = (DBTypesOnSamePlane(i, j) & pmask2)) ^~~~ DRCtech.c:2011:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pset = (DBTypesOnSamePlane(i, j) & pmask1)) ^~~~ DRCtech.c:1679:10: warning: unused variable 'cornerok' [-Wunused-variable] bool cornerok = FALSE; ^~~~~~~~ DRCtech.c:1676:20: warning: unused variable 'pref' [-Wunused-variable] TileType i, j, pref; ^~~~ DRCtech.c:1673:21: warning: unused variable 'ptest' [-Wunused-variable] PlaneMask pset, ptest; ^~~~~ DRCtech.c: In function 'drcEdge': DRCtech.c:2382:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pset = (DBTypesOnSamePlane(i, j) & pMask1)) ^~~~ DRCtech.c:2389:25: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if (pset & pMaskM != 0) ~~~~~~~^~~~ DRCtech.c: In function 'drcOverhang': DRCtech.c:2499:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pset = (DBTypesOnSamePlane(i, j) & pMask2)) ^~~~ DRCtech.c: In function 'drcRectOnly': DRCtech.c:2613:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pset = (DBTypesOnSamePlane(i, j) & pmask)) ^~~~ DRCtech.c: In function 'drcSurround': DRCtech.c:2737:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pset = (DBTypesOnSamePlane(i, j) & pmask2)) ^~~~ DRCtech.c:2820:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pset = (DBTypesOnSamePlane(i, j) & pmask)) ^~~~ DRCtech.c:2854:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pset = pmask & pmask2) ^~~~ DRCtech.c:2866:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pset = (DBTypesOnSamePlane(i, j) & pmask & pmask2)) ^~~~ DRCtech.c:2900:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pset = (DBTypesOnSamePlane(i, j) & pmask)) ^~~~ DRCtech.c: In function 'drcRectangle': DRCtech.c:3098:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pset = (DBTypesOnSamePlane(i, j) & pMask)) ^~~~ DRCtech.c: In function 'DRCTechFinal': DRCtech.c:3221:15: warning: unused variable 'ds' [-Wunused-variable] DRCStyle *ds; ^~ DRCtech.c: In function 'drcScaleUp': DRCtech.c:3316:9: warning: variable 'dist' set but not used [-Wunused-but-set-variable] int dist; ^~~~ DRCtech.c: In function 'drcTechFinalStyle': DRCtech.c:3424:5: warning: implicit declaration of function 'drcCifFinal'; did you mean 'drcCifArea'? [-Wimplicit-function-declaration] drcCifFinal(); ^~~~~~~~~~~ drcCifArea DRCtech.c: In function 'DRCTechScale': DRCtech.c:3704:21: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] else if (scalen == scaled == 1) return; ~~~~~~~^~~~~~~~~ DRCtech.c:3714:16: warning: implicit declaration of function 'FindGCF' [-Wimplicit-function-declaration] scalegcf = FindGCF(DRCCurStyle->DRCScaleFactorD, DRCCurStyle->DRCScaleFactorN); ^~~~~~~ DRCtech.c:3700:17: warning: unused variable 'j' [-Wunused-variable] TileType i, j; ^ DRCtech.c:3700:14: warning: unused variable 'i' [-Wunused-variable] TileType i, j; ^ DRCtech.c:3699:17: warning: unused variable 'dp' [-Wunused-variable] DRCCookie *dp; ^~ DRCtech.c: In function 'drcEdge': DRCtech.c:2350:10: warning: 'tmpPlane' may be used uninitialized in this function [-Wmaybe-uninitialized] pMaskM = PlaneNumToMaskBit(tmpPlane); --- compiling drc/DRCprint.o rm -f DRCprint.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DRCprint.c --- compiling drc/DRCextend.o rm -f DRCextend.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c DRCextend.c DRCextend.c: In function 'drcCanonicalMaxwidth': DRCextend.c:448:21: warning: unused variable 'tp' [-Wunused-variable] Tile *tile,*tp; ^~ DRCextend.c:448:15: warning: unused variable 'tile' [-Wunused-variable] Tile *tile,*tp; ^~~~ DRCextend.c:447:14: warning: unused variable 's' [-Wunused-variable] int s, edgelimit; ^ --- linking libdrc.o rm -f libdrc.o ld -r DRCarray.o DRCbasic.o DRCcif.o DRCcontin.o DRCmain.o DRCsubcell.o DRCtech.o DRCprint.o DRCextend.o -o libdrc.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/drc' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/extflat' --- compiling extflat/EFargs.o rm -f EFargs.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c EFargs.c EFargs.c: In function 'EFArgs': EFargs.c:177:3: warning: implicit declaration of function 'TxError'; did you mean 'perror'? [-Wimplicit-function-declaration] TxError("Warning: multiple input files specified; "); ^~~~~~~ perror EFargs.c:205:3: warning: implicit declaration of function 'efSymAdd' [-Wimplicit-function-declaration] efSymAdd(cp); ^~~~~~~~ EFargs.c:224:3: warning: implicit declaration of function 'efSymAddFile' [-Wimplicit-function-declaration] efSymAddFile(cp); ^~~~~~~~~~~~ --- compiling extflat/EFbuild.o rm -f EFbuild.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c EFbuild.c EFbuild.c: In function 'efBuildNode': EFbuild.c:151:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (newname = (EFNodeName *) HashGetValue(he)) ^~~~~~~ EFbuild.c:154:6: warning: implicit declaration of function 'efReadError'; did you mean 'ferror'? [-Wimplicit-function-declaration] efReadError("Warning: duplicate node name %s\n", nodeName); ^~~~~~~~~~~ ferror EFbuild.c:186:6: warning: implicit declaration of function 'efBuildAddStr'; did you mean 'efBuildNode'? [-Wimplicit-function-declaration] efBuildAddStr(EFLayerNames, &EFLayerNumNames, MAXTYPES, layerName); ^~~~~~~~~~~~~ efBuildNode EFbuild.c: In function 'efAdjustSubCap': EFbuild.c:227:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (nodename = (EFNodeName *) HashGetValue(he)) ^~~~~~~~ EFbuild.c: In function 'efBuildDist': EFbuild.c:331:9: warning: implicit declaration of function 'EFHNBest'; did you mean 'EFHNToStr'? [-Wimplicit-function-declaration] if (EFHNBest(hn1, hn2)) ^~~~~~~~ EFHNToStr EFbuild.c:348:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dist = (Distance *) HashGetValue(he)) ^~~~ EFbuild.c:358:2: warning: implicit declaration of function 'EFHNFree'; did you mean 'EFHNLook'? [-Wimplicit-function-declaration] EFHNFree(hn1, (HierName *) NULL, HN_ALLOC); ^~~~~~~~ EFHNLook EFbuild.c: In function 'efBuildDevice': EFbuild.c:609:15: warning: unused variable 'perim' [-Wunused-variable] int area, perim; /* Total area, perimeter of primary type (i.e., channel) */ ^~~~~ EFbuild.c:609:9: warning: unused variable 'area' [-Wunused-variable] int area, perim; /* Total area, perimeter of primary type (i.e., channel) */ ^~~~ EFbuild.c:605:10: warning: unused variable 'ptype' [-Wunused-variable] char ptype, *pptr, **av; ^~~~~ EFbuild.c: In function 'efBuildDevNode': EFbuild.c:1003:11: warning: implicit declaration of function 'EFHNIsGlob'; did you mean 'EFHNLook'? [-Wimplicit-function-declaration] if (!EFHNIsGlob(nn->efnn_hier)) ^~~~~~~~~~ EFHNLook EFbuild.c: In function 'efConnBuildName': EFbuild.c:1407:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (*dstp++ = *cp++) ^ EFbuild.c: In function 'efNodeMerge': EFbuild.c:1592:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ap = node2->efnode_attrs) ^~ EFbuild.c: In function 'efFreeNodeTable': EFbuild.c:1663:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(table, &hs)) ^~ EFbuild.c:1664:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (nn = (EFNodeName *) HashGetValue(he)) ^~ --- compiling extflat/EFdef.o rm -f EFdef.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c EFdef.c EFdef.c: In function 'EFInit': EFdef.c:76:5: warning: implicit declaration of function 'efSymInit' [-Wimplicit-function-declaration] efSymInit(); ^~~~~~~~~ EFdef.c: In function 'EFDone': EFdef.c:110:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&efDefHashTable, &hs)) ^~ EFdef.c:114:2: warning: implicit declaration of function 'efFreeNodeTable' [-Wimplicit-function-declaration] efFreeNodeTable(&def->def_nodes); ^~~~~~~~~~~~~~~ EFdef.c:115:2: warning: implicit declaration of function 'efFreeNodeList' [-Wimplicit-function-declaration] efFreeNodeList(&def->def_firstn); ^~~~~~~~~~~~~~ EFdef.c:124:6: warning: implicit declaration of function 'efFreeConn' [-Wimplicit-function-declaration] efFreeConn(conn); ^~~~~~~~~~ EFdef.c:167:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&efDevParamTable, &hs)) ^~ --- compiling extflat/EFerr.o rm -f EFerr.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c EFerr.c --- compiling extflat/EFflat.o rm -f EFflat.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c EFflat.c EFflat.c: In function 'EFFlatBuild': EFflat.c:97:20: warning: implicit declaration of function 'efHNPrintSizes'; did you mean 'efHNDistKill'? [-Wimplicit-function-declaration] if (efHNStats) efHNPrintSizes("before building flattened table"); ^~~~~~~~~~~~~~ efHNDistKill EFflat.c:127:6: warning: implicit declaration of function 'efFlatNodesStdCell' [-Wimplicit-function-declaration] efFlatNodesStdCell(&efFlatContext); ^~~~~~~~~~~~~~~~~~ EFflat.c:129:6: warning: implicit declaration of function 'efFlatNodes'; did you mean 'efAddNodes'? [-Wimplicit-function-declaration] efFlatNodes(&efFlatContext); ^~~~~~~~~~~ efAddNodes EFflat.c:130:2: warning: implicit declaration of function 'efFlatKills'; did you mean 'efFlatGlob'? [-Wimplicit-function-declaration] efFlatKills(&efFlatContext); ^~~~~~~~~~~ efFlatGlob EFflat.c:137:2: warning: implicit declaration of function 'efFlatCaps'; did you mean 'efFlatGlob'? [-Wimplicit-function-declaration] efFlatCaps(&efFlatContext); ^~~~~~~~~~ efFlatGlob EFflat.c:141:2: warning: implicit declaration of function 'efFlatDists'; did you mean 'efFlatGlob'? [-Wimplicit-function-declaration] efFlatDists(&efFlatContext); ^~~~~~~~~~~ efFlatGlob EFflat.c: In function 'EFFlatBuildOneLevel': EFflat.c:199:5: warning: implicit declaration of function 'efHierSrUses'; did you mean 'efHNFromUse'? [-Wimplicit-function-declaration] efHierSrUses(&efFlatContext, efAddNodes, (ClientData)TRUE); ^~~~~~~~~~~~ efHNFromUse EFflat.c:216:5: warning: implicit declaration of function 'efAddConns'; did you mean 'efAddNodes'? [-Wimplicit-function-declaration] efAddConns(&efFlatContext); ^~~~~~~~~~ efAddNodes EFflat.c:164:19: warning: unused variable 'savecount' [-Wunused-variable] int usecount, savecount; ^~~~~~~~~ EFflat.c: In function 'EFFlatDone': EFflat.c:256:5: warning: implicit declaration of function 'efFreeNodeTable' [-Wimplicit-function-declaration] efFreeNodeTable(&efNodeHashTable); ^~~~~~~~~~~~~~~ EFflat.c:257:5: warning: implicit declaration of function 'efFreeNodeList'; did you mean 'efAddNodes'? [-Wimplicit-function-declaration] efFreeNodeList(&efNodeList); ^~~~~~~~~~~~~~ efAddNodes EFflat.c: In function 'efAddNodes': EFflat.c:512:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (oldname = (EFNodeName *) HashGetValue(he)) ^~~~~~~ EFflat.c:515:7: warning: implicit declaration of function 'EFHNFree'; did you mean 'EFHNLook'? [-Wimplicit-function-declaration] EFHNFree(hierName, hc->hc_hierName, HN_CONCAT); ^~~~~~~~ EFHNLook EFflat.c:517:7: warning: implicit declaration of function 'efNodeMerge'; did you mean 'efnode_prev'? [-Wimplicit-function-declaration] efNodeMerge(oldname->efnn_node, newnode); ^~~~~~~~~~~ efnode_prev EFflat.c: In function 'efAddConns': EFflat.c:571:2: warning: implicit declaration of function 'TxPrintf'; did you mean 'llrintf'? [-Wimplicit-function-declaration] TxPrintf("Processing %s (%s)\n", ^~~~~~~~ llrintf EFflat.c:581:6: warning: implicit declaration of function 'efHierSrArray' [-Wimplicit-function-declaration] efHierSrArray(hc, conn, efAddOneConn, (ClientData) NULL); ^~~~~~~~~~~~~ EFflat.c: In function 'efFlatGlob': EFflat.c:707:7: warning: implicit declaration of function 'EFHNIsGlob'; did you mean 'EFHNLook'? [-Wimplicit-function-declaration] if (!EFHNIsGlob(hnFlat)) ^~~~~~~~~~ EFHNLook EFflat.c:757:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (heGlob = HashNext(&globalTable, &hs)) ^~~~~~ EFflat.c: In function 'efFlatGlobCopy': EFflat.c:843:2: warning: implicit declaration of function 'efHNRecord' [-Wimplicit-function-declaration] efHNRecord(size, HN_GLOBAL); ^~~~~~~~~~ EFflat.c: In function 'efFlatKills': EFflat.c:889:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (he = EFHNConcatLook(hc->hc_hierName, k->kill_name, "kill")) ^~ EFflat.c: In function 'efFlatDists': EFflat.c:1089:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&hc->hc_use->use_def->def_dists, &hs)) ^~ EFflat.c:1092:2: warning: implicit declaration of function 'efHNBuildDistKey'; did you mean 'efBuildResistor'? [-Wimplicit-function-declaration] efHNBuildDistKey(hc->hc_hierName, dist, &distKey); ^~~~~~~~~~~~~~~~ efBuildResistor EFflat.c:1094:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (distFlat = (Distance *) HashGetValue(heFlat)) ^~~~~~~~ --- compiling extflat/EFhier.o rm -f EFhier.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c EFhier.c EFhier.c: In function 'efHierDevKilled': EFhier.c:388:10: warning: unused variable 'def' [-Wunused-variable] Def *def = hc->hc_use->use_def; ^~~ EFhier.c: In function 'EFHierVisitDevs': EFhier.c:445:12: warning: implicit declaration of function 'efHierVisitDevs'; did you mean 'EFHierVisitDevs'? [-Wimplicit-function-declaration] return efHierVisitDevs(hc, (ClientData) &ca); ^~~~~~~~~~~~~~~ EFHierVisitDevs EFhier.c: In function 'efHierVisitResists': EFhier.c:606:9: warning: unused variable 'scale' [-Wunused-variable] int scale; ^~~~~ EFhier.c:605:15: warning: unused variable 't' [-Wunused-variable] Transform t; ^ EFhier.c: In function 'EFHierVisitCaps': EFhier.c:669:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&efCapHashTable, &hs)) ^~ EFhier.c: In function 'EFHierVisitNodes': EFhier.c:728:8: warning: implicit declaration of function 'EFNodeResist' [-Wimplicit-function-declaration] res = EFNodeResist(snode); ^~~~~~~~~~~~ EFhier.c:722:15: warning: variable 'hierName' set but not used [-Wunused-but-set-variable] HierName *hierName; ^~~~~~~~ EFhier.c:718:10: warning: unused variable 'def' [-Wunused-variable] Def *def = hc->hc_use->use_def; ^~~ --- compiling extflat/EFname.o rm -f EFname.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c EFname.c EFname.c: In function 'EFStrToHN': EFname.c:218:9: warning: unused variable 'len' [-Wunused-variable] int len; ^~~ EFname.c:214:16: warning: unused variable 'he' [-Wunused-variable] HashEntry *he; ^~ EFname.c: In function 'efHNToStrFunc': EFname.c:316:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (*dstp++ = *srcp++) ^ EFname.c: In function 'EFHNLook': EFname.c:38:18: warning: implicit declaration of function 'TxError'; did you mean 'perror'? [-Wimplicit-function-declaration] #define PrintErr TxError ^ EFname.c:368:6: note: in expansion of macro 'PrintErr' PrintErr("%s: no such node %s\n", errorStr, EFHNToStr(hierName)); ^~~~~~~~ EFname.c:353:26: warning: unused variable 'hn' [-Wunused-variable] HierName *hierName, *hn; ^~ EFname.c: In function 'EFHNBest': EFname.c:540:13: warning: implicit declaration of function 'efHNLexOrder'; did you mean 'efHNRecord'? [-Wimplicit-function-declaration] return (efHNLexOrder(hierName1, hierName2) > 0); ^~~~~~~~~~~~ efHNRecord EFname.c: In function 'efHNLexOrder': EFname.c:575:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = efHNLexOrder(hierName1->hn_parent, hierName2->hn_parent)) ^ EFname.c: In function 'efHNFromUse': EFname.c:623:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (*dstp++ = *srcp++) ^ EFname.c: In function 'efHNInit': EFname.c:755:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (*dstp++ = *cp) ^ EFname.c: In function 'efHNDump': EFname.c:967:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&efNodeHashTable, &hs)) ^~ --- compiling extflat/EFread.o rm -f EFread.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c EFread.c EFread.c:68:1: warning: missing braces around initializer [-Wmissing-braces] { ^ "abstract", ABSTRACT, 0, /* defines a LEF-like view */ { } "adjust", ADJUST, 4, { } "attr", ATTR, 8, { } "cap", CAP, 4, { } "device", DEVICE, 11, /* effectively replaces "fet" */ { } "distance", DIST, 4, { } "equiv", EQUIV, 3, { } "fet", FET, 12, /* for backwards compatibility */ { } "killnode", KILLNODE, 2, { } "merge", MERGE, 3, { } "node", NODE, 7, { } "parameters", PARAMETERS, 3, { } "port", PORT, 8, { } "resist", RESISTOR, 4, { } "resistclasses", RESISTCLASS, 1, { } "rnode", RNODE, 5, { } "scale", SCALE, 4, { } "subcap", SUBCAP, 3, { } "substrate", SUBSTRATE, 3, { } "tech", TECH, 2, { } "timestamp", TIMESTAMP, 2, { } "use", USE, 9, { } "version", VERSION, 2, { } "style", EXT_STYLE, 2, { } 0 { }; } EFread.c: In function 'EFReadFile': EFread.c:131:1: warning: type of 'noscale' defaults to 'int' [-Wimplicit-int] EFReadFile(name, dosubckt, resist, noscale) ^~~~~~~~~~ EFread.c: In function 'efReadDef': EFread.c:214:20: warning: implicit declaration of function 'efReadLine'; did you mean 'EFReadFile'? [-Wimplicit-function-declaration] while ((argc = efReadLine(line, sizeof line, inf, argv)) >= 0) ^~~~~~~~~~ EFReadFile EFread.c:219:6: warning: implicit declaration of function 'efReadError'; did you mean 'efReadDef'? [-Wimplicit-function-declaration] efReadError("Unrecognized token \"%s\" (ignored)\n", argv[0]); ^~~~~~~~~~~ efReadDef EFread.c:267:3: warning: implicit declaration of function 'efBuildAttr'; did you mean 'efBuildCap'? [-Wimplicit-function-declaration] efBuildAttr(def, argv[1], &r, argv[6], argv[7]); ^~~~~~~~~~~ efBuildCap EFread.c:279:3: warning: implicit declaration of function 'efAdjustSubCap'; did you mean 'DBAdjustLabels'? [-Wimplicit-function-declaration] efAdjustSubCap(def, argv[1], cap); ^~~~~~~~~~~~~~ DBAdjustLabels EFread.c:284:3: warning: implicit declaration of function 'efBuildEquiv'; did you mean 'efBuildCap'? [-Wimplicit-function-declaration] efBuildEquiv(def, argv[1], argv[2]); ^~~~~~~~~~~~ efBuildCap EFread.c:335:7: warning: implicit declaration of function 'efBuildDevice'; did you mean 'efBuildNode'? [-Wimplicit-function-declaration] if (efBuildDevice(def, (char)n, argv[2], &r, argc - 7, ^~~~~~~~~~~~~ efBuildNode EFread.c:399:3: warning: implicit declaration of function 'efBuildDeviceParams'; did you mean 'efGetDeviceParams'? [-Wimplicit-function-declaration] efBuildDeviceParams(argv[1], argc - 2, &argv[2]); ^~~~~~~~~~~~~~~~~~~ efGetDeviceParams EFread.c:409:3: warning: implicit declaration of function 'efBuildPortNode'; did you mean 'efBuildNode'? [-Wimplicit-function-declaration] efBuildPortNode(def, argv[1], atoi(argv[2]), atoi(argv[3]), ^~~~~~~~~~~~~~~ efBuildNode EFread.c:452:3: warning: implicit declaration of function 'efBuildUse'; did you mean 'efBuildCap'? [-Wimplicit-function-declaration] efBuildUse(def, argv[1], argv[2], ^~~~~~~~~~ efBuildCap EFread.c:467:4: warning: implicit declaration of function 'TxError'; did you mean 'perror'? [-Wimplicit-function-declaration] TxError("Error: .ext file has different technology %s\n", ^~~~~~~ perror EFread.c:476:9: warning: implicit declaration of function 'TechLoad'; did you mean 'WindLoad'? [-Wimplicit-function-declaration] if (!TechLoad(argv[1], 0)) ^~~~~~~~ WindLoad EFread.c:544:3: warning: implicit declaration of function 'efBuildDist'; did you mean 'efBuildCap'? [-Wimplicit-function-declaration] efBuildDist(def, argv[1], argv[2], ^~~~~~~~~~~ efBuildCap EFread.c:551:3: warning: implicit declaration of function 'efBuildKill'; did you mean 'efBuildCap'? [-Wimplicit-function-declaration] efBuildKill(def, argv[1]); ^~~~~~~~~~~ efBuildCap EFread.c:176:41: warning: variable 'attrs' set but not used [-Wunused-but-set-variable] char line[1024], *argv[64], *name, *attrs; ^~~~~ --- compiling extflat/EFsym.o rm -f EFsym.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c EFsym.c EFsym.c: In function 'efSymAddFile': EFsym.c:110:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (cp = strchr(line, '\n')) ^~ EFsym.c:113:6: warning: implicit declaration of function 'TxError'; did you mean 'perror'? [-Wimplicit-function-declaration] TxError("Error at line %d of %s\n", lineNum, name); ^~~~~~~ perror EFsym.c: In function 'efSymAdd': EFsym.c:161:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (he = HashLookOnly(&efSymHash, str)) ^~ --- compiling extflat/EFvisit.o rm -f EFvisit.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c EFvisit.c EFvisit.c: In function 'EFVisitSubcircuits': EFvisit.c:109:9: warning: implicit declaration of function 'efHierSrUses'; did you mean 'efHNFromUse'? [-Wimplicit-function-declaration] if (efHierSrUses(hc, efVisitSubcircuits, (ClientData) &ca)) ^~~~~~~~~~~~ efHNFromUse EFvisit.c: In function 'EFVisitDevs': EFvisit.c:279:12: warning: implicit declaration of function 'efVisitDevs'; did you mean 'EFVisitDevs'? [-Wimplicit-function-declaration] return efVisitDevs(&efFlatContext, (ClientData) &ca); ^~~~~~~~~~~ EFVisitDevs EFvisit.c: In function 'efDevFixLW': EFvisit.c:419:17: warning: implicit declaration of function 'efSymLook'; did you mean 'efDefLook'? [-Wimplicit-function-declaration] else if (!efSymLook(cp, &value)) goto done; ^~~~~~~~~ efDefLook EFvisit.c: In function 'EFVisitResists': EFvisit.c:481:12: warning: implicit declaration of function 'efVisitResists'; did you mean 'EFVisitResists'? [-Wimplicit-function-declaration] return efVisitResists(&efFlatContext, (ClientData) &ca); ^~~~~~~~~~~~~~ EFVisitResists EFvisit.c: In function 'efVisitResists': EFvisit.c:522:11: warning: implicit declaration of function 'efHierSrArray' [-Wimplicit-function-declaration] else if (efHierSrArray(hc, res, efVisitSingleResist, (ClientData) ca)) ^~~~~~~~~~~~~ EFvisit.c: In function 'EFVisitCaps': EFvisit.c:618:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&efCapHashTable, &hs)) ^~ EFvisit.c: In function 'EFVisitNodes': EFvisit.c:678:8: warning: implicit declaration of function 'EFNodeResist'; did you mean 'EFVisitResists'? [-Wimplicit-function-declaration] res = EFNodeResist(node); ^~~~~~~~~~~~ EFVisitResists EFvisit.c:683:10: warning: implicit declaration of function 'EFHNIsGND' [-Wimplicit-function-declaration] if (EFHNIsGND(hierName)) ^~~~~~~~~ EFvisit.c:696:7: warning: implicit declaration of function 'TxPrintf'; did you mean 'llrintf'? [-Wimplicit-function-declaration] TxPrintf("Equivalent nodes:\n"); ^~~~~~~~ llrintf EFvisit.c: In function 'EFLookDist': EFvisit.c:818:9: warning: implicit declaration of function 'EFHNBest'; did you mean 'EFHNToStr'? [-Wimplicit-function-declaration] if (EFHNBest(hn1, hn2)) ^~~~~~~~ EFHNToStr EFvisit.c: In function 'EFHNOut': EFvisit.c:871:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *cp++) ^ EFvisit.c: In function 'efHNOutPrefix': EFvisit.c:902:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *cp++) ^ --- linking libextflat.o rm -f libextflat.o ld -r EFargs.o EFbuild.o EFdef.o EFerr.o EFflat.o EFhier.o EFname.o EFread.o EFsym.o EFvisit.o -o libextflat.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/extflat' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/extract' --- compiling extract/ExtArray.o rm -f ExtArray.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ExtArray.c ExtArray.c: In function 'extArray': ExtArray.c:170:12: warning: implicit declaration of function 'DBCellSrArea'; did you mean 'DBCellSrDefs'? [-Wimplicit-function-declaration] (void) DBCellSrArea(&scx, extArrayFunc, (ClientData) &ha); ^~~~~~~~~~~~ DBCellSrDefs ExtArray.c:178:5: warning: implicit declaration of function 'extOutputConns' [-Wimplicit-function-declaration] extOutputConns(&ha.ha_connHash, f); ^~~~~~~~~~~~~~ ExtArray.c: In function 'extArrayProcess': ExtArray.c:392:26: warning: implicit declaration of function 'extHierFreeOne'; did you mean 'extHierNewOne'? [-Wimplicit-function-declaration] if (extArrayPrimary) extHierFreeOne(extArrayPrimary); ^~~~~~~~~~~~~~ extHierNewOne ExtArray.c: In function 'extArrayPrimaryFunc': ExtArray.c:451:12: warning: implicit declaration of function 'extHierYankFunc'; did you mean 'extArrayFunc'? [-Wimplicit-function-declaration] (void) extHierYankFunc(use, trans, x, y, &hy); ^~~~~~~~~~~~~~~ extArrayFunc ExtArray.c:460:5: warning: implicit declaration of function 'ExtLabelRegions'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] ExtLabelRegions(primDef, ExtCurStyle->exts_nodeConn, ^~~~~~~~~~~~~~~ ExtFindRegions ExtArray.c:464:2: warning: implicit declaration of function 'extFindCoupling'; did you mean 'extFindNodes'? [-Wimplicit-function-declaration] extFindCoupling(primDef, &extArrayPrimary->et_coupleHash, ^~~~~~~~~~~~~~~ extFindNodes ExtArray.c: In function 'extArrayInterFunc': ExtArray.c:606:5: warning: implicit declaration of function 'extHierConnections'; did you mean 'extConnectsTo'? [-Wimplicit-function-declaration] extHierConnections(ha, extArrayPrimary, oneFlat); ^~~~~~~~~~~~~~~~~~ extConnectsTo ExtArray.c:609:5: warning: implicit declaration of function 'extHierSubstrate'; did you mean 'extHierLabFirst'? [-Wimplicit-function-declaration] extHierSubstrate(ha, use, x, y); ^~~~~~~~~~~~~~~~ extHierLabFirst ExtArray.c:643:2: warning: implicit declaration of function 'ExtFreeLabRegions'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] ExtFreeLabRegions((LabRegion *) ha->ha_cumFlat.et_nodes); ^~~~~~~~~~~~~~~~~ ExtFindRegions ExtArray.c: In function 'extArrayAdjust': ExtArray.c:684:5: warning: implicit declaration of function 'extHierAdjustments' [-Wimplicit-function-declaration] extHierAdjustments(ha, &ha->ha_cumFlat, et1, et1); ^~~~~~~~~~~~~~~~~~ ExtArray.c:688:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&ha->ha_cumFlat.et_coupleHash, &hs)) ^~ ExtArray.c: In function 'extArrayTileToNode': ExtArray.c:795:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (reg = (LabRegion *) extArrayHardNode(tp, pNum, def, ha)) ^~~ --- compiling extract/ExtBasic.o rm -f ExtBasic.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ExtBasic.c ExtBasic.c: In function 'extBasic': ExtBasic.c:220:5: warning: implicit declaration of function 'ExtResetTiles'; did you mean 'ExtSetStyle'? [-Wimplicit-function-declaration] ExtResetTiles(def, extUnInit); ^~~~~~~~~~~~~ ExtSetStyle ExtBasic.c:263:2: warning: implicit declaration of function 'ExtLabelRegions'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] ExtLabelRegions(def, ExtCurStyle->exts_nodeConn, &nodeList, &TiPlaneRect); ^~~~~~~~~~~~~~~ ExtFindRegions ExtBasic.c:281:2: warning: implicit declaration of function 'extFindCoupling'; did you mean 'extFindNodes'? [-Wimplicit-function-declaration] extFindCoupling(def, &extCoupleHash, (Rect *) NULL); ^~~~~~~~~~~~~~~ extFindNodes ExtBasic.c:289:3: warning: implicit declaration of function 'extRelocateSubstrateCoupling' [-Wimplicit-function-declaration] extRelocateSubstrateCoupling(&extCoupleHash, glob_subsnode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ExtBasic.c:321:2: warning: implicit declaration of function 'extOutputCoupling'; did you mean 'extOutputNodes'? [-Wimplicit-function-declaration] extOutputCoupling(&extCoupleHash, outFile); ^~~~~~~~~~~~~~~~~ extOutputNodes ExtBasic.c:327:28: warning: variable 'subsnode' set but not used [-Wunused-but-set-variable] char *token, *modelname, *subsnode; ^~~~~~~~ ExtBasic.c:514:5: warning: implicit declaration of function 'ExtFreeLabRegions'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] ExtFreeLabRegions((LabRegion *) transList); ^~~~~~~~~~~~~~~~~ ExtFindRegions ExtBasic.c: In function 'extOutputDevParams': ExtBasic.c:1562:9: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] switch(tolower(chkParam->pl_param[0])) ^~~~~~~ ExtBasic.c: In function 'extOutputDevices': ExtBasic.c:1694:11: warning: implicit declaration of function 'ExtFindNeighbors'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] ntiles = ExtFindNeighbors(reg->treg_tile, arg.fra_pNum, &arg); ^~~~~~~~~~~~~~~~ ExtFindRegions ExtBasic.c:1814:15: warning: array subscript has type 'char' [-Wchar-subscripts] extDevTable[ExtCurStyle->exts_deviceClass[t]], ^ ExtBasic.c:1646:56: warning: unused variable 'rc' [-Wunused-variable] int nsd, length, width, n, i, ntiles, corners, tn, rc; ^~ ExtBasic.c:1646:52: warning: unused variable 'tn' [-Wunused-variable] int nsd, length, width, n, i, ntiles, corners, tn, rc; ^~ ExtBasic.c:1646:43: warning: unused variable 'corners' [-Wunused-variable] int nsd, length, width, n, i, ntiles, corners, tn, rc; ^~~~~~~ ExtBasic.c: In function 'extTransTileFunc': ExtBasic.c:2292:13: warning: implicit declaration of function 'extEnumTilePerim' [-Wimplicit-function-declaration] perim = extEnumTilePerim(tile, mask, pNum, ^~~~~~~~~~~~~~~~ ExtBasic.c: In function 'extTransPerimFunc': ExtBasic.c:2335:10: warning: unused variable 'r' [-Wunused-variable] Rect r; ^ ExtBasic.c: In function 'extFindNodes': ExtBasic.c:3134:6: warning: implicit declaration of function 'DBSrPaintClient'; did you mean 'DBSrPaintArea'? [-Wimplicit-function-declaration] DBSrPaintClient((Tile *) NULL, def->cd_planes[pNum], ^~~~~~~~~~~~~~~ DBSrPaintArea ExtBasic.c: In function 'extNodeAreaFunc': ExtBasic.c:3231:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (old = (NodeRegion *) arg->fra_region) ^~~ ExtBasic.c:3272:6: warning: implicit declaration of function 'extShowTile' [-Wimplicit-function-declaration] extShowTile(tile, "neighbor", 1); ^~~~~~~~~~~ ExtBasic.c:3604:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pMask = DBAllConnPlanes[type]) ^~~~~ ExtBasic.c:3617:11: warning: implicit declaration of function 'DBSrPaintNMArea'; did you mean 'DBSrPaintArea'? [-Wimplicit-function-declaration] DBSrPaintNMArea((Tile *) NULL, ^~~~~~~~~~~~~~~ DBSrPaintArea ExtBasic.c:3349:1: warning: label 'topside' defined but not used [-Wunused-label] topside: ^~~~~~~ ExtBasic.c: In function 'extCapHashKill': ExtBasic.c:3687:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(ht, &hs)) ^~ At top level: ExtBasic.c:21:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)ExtBasic.c 4.13 MAGIC (Berkeley) 12/5/85"; ^~~~~~ ExtBasic.c: In function 'extSpecialPerimFunc': ExtBasic.c:2666:26: warning: 'lastlb' may be used uninitialized in this function [-Wmaybe-uninitialized] lastlb->r.r_ybot = lb->r.r_ybot; In file included from ExtBasic.c:35:0: ../database/database.h:153:23: warning: 'toutside' may be used uninitialized in this function [-Wmaybe-uninitialized] #define ttBit(t) ((t) & TT_WORDMASK) ^ ExtBasic.c:2580:23: note: 'toutside' was declared here TileType tinside, toutside; ^~~~~~~~ ExtBasic.c:2614:62: warning: 'tinside' may be used uninitialized in this function [-Wmaybe-uninitialized] for (i = 0; !TTMaskIsZero(&ExtCurStyle->exts_transSDTypes[tinside][i]); i++) ^ ExtBasic.c: In function 'extComputeEffectiveLW': ExtBasic.c:1076:6: warning: 'oppdir' may be used uninitialized in this function [-Wmaybe-uninitialized] if (lb2->dir == oppdir) ^ --- compiling extract/ExtCell.o rm -f ExtCell.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ExtCell.c ExtCell.c: In function 'extFileOpen': ExtCell.c:175:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (endp = strrchr(ends + 1, '.')) ^~~~ ExtCell.c: In function 'extCellFile': ExtCell.c:259:31: warning: implicit declaration of function 'extSubtree' [-Wimplicit-function-declaration] if (!SigInterruptPending) extSubtree(extParentUse, reg, f); ^~~~~~~~~~ ExtCell.c:260:31: warning: implicit declaration of function 'extArray'; did you mean 'DBSetArray'? [-Wimplicit-function-declaration] if (!SigInterruptPending) extArray(extParentUse, f); ^~~~~~~~ DBSetArray ExtCell.c:263:14: warning: implicit declaration of function 'ExtFreeLabRegions'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] if (reg) ExtFreeLabRegions((LabRegion *) reg); ^~~~~~~~~~~~~~~~~ ExtFindRegions ExtCell.c:264:5: warning: implicit declaration of function 'ExtResetTiles'; did you mean 'ExtSetStyle'? [-Wimplicit-function-declaration] ExtResetTiles(def, extUnInit); ^~~~~~~~~~~~~ ExtSetStyle ExtCell.c:268:2: warning: implicit declaration of function 'extLength' [-Wimplicit-function-declaration] extLength(extParentUse, f); ^~~~~~~~~ --- compiling extract/ExtCouple.o rm -f ExtCouple.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ExtCouple.c ExtCouple.c: In function 'extRelocateSubstrateCoupling': ExtCouple.c:219:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(table, &hs)) ^~ ExtCouple.c: In function 'extOutputCoupling': ExtCouple.c:275:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(table, &hs)) ^~ ExtCouple.c: In function 'extAddOverlap': ExtCouple.c:451:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ov.o_pmask = ExtCurStyle->exts_overlapShieldPlanes[ta][tb]) ^~ ExtCouple.c:485:15: warning: unused variable 'cp' [-Wunused-variable] CapValue cp; ^~ ExtCouple.c:484:10: warning: unused variable 'len' [-Wunused-variable] int len; ^~~ ExtCouple.c:483:23: warning: unused variable 'mask' [-Wunused-variable] TileTypeBitMask *mask; ^~~~ ExtCouple.c:482:18: warning: unused variable 'tres' [-Wunused-variable] TileType t, tres; ^~~~ ExtCouple.c:482:15: warning: unused variable 't' [-Wunused-variable] TileType t, tres; ^ ExtCouple.c:481:12: warning: unused variable 'tp' [-Wunused-variable] Tile *tp; ^~ ExtCouple.c: In function 'extBasicCouple': ExtCouple.c:617:12: warning: implicit declaration of function 'extEnumTilePerim' [-Wimplicit-function-declaration] (void) extEnumTilePerim(tile, ExtCurStyle->exts_sideEdges[TiGetType(tile)], ^~~~~~~~~~~~~~~~ ExtCouple.c: In function 'extSideOverlap': ExtCouple.c:782:10: warning: unused variable 'tpr' [-Wunused-variable] Rect tpr; ^~~ ExtCouple.c: In function 'extAddCouple': ExtCouple.c:728:2: warning: 'proc' may be used uninitialized in this function [-Wmaybe-uninitialized] (void) DBSrPaintArea((Tile *) NULL, def->cd_planes[ecs->plane], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &r, &ExtCurStyle->exts_sideCoupleOtherEdges[tin][tout], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc, (ClientData) bp); ~~~~~~~~~~~~~~~~~~~~~~ --- compiling extract/ExtHard.o rm -f ExtHard.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ExtHard.c ExtHard.c: In function 'extLabEach': ExtHard.c:109:5: warning: implicit declaration of function 'extSetNodeNum'; did you mean 'extNodeName'? [-Wimplicit-function-declaration] extSetNodeNum((LabRegion *)reg, pNum, tile); ^~~~~~~~~~~~~ extNodeName ExtHard.c: In function 'extHardProc': ExtHard.c:226:2: warning: implicit declaration of function 'ExtLabelRegions'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] ExtLabelRegions(def, ExtCurStyle->exts_nodeConn, NULL, NULL); ^~~~~~~~~~~~~~~ ExtFindRegions ExtHard.c:238:11: warning: implicit declaration of function 'DBCellSrArea'; did you mean 'DBCellSrDefs'? [-Wimplicit-function-declaration] ret = DBCellSrArea(scx, extHardProc, (ClientData) arg); ^~~~~~~~~~~~ DBCellSrDefs ExtHard.c: In function 'extHardSetLabel': ExtHard.c:299:6: warning: implicit declaration of function 'extLabType'; did you mean 'extLabEach'? [-Wimplicit-function-declaration] if (extLabType(ll->ll_label->lab_text, LABTYPE_NAME)) break; ^~~~~~~~~~ extLabEach ExtHard.c:356:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (*dstp++ = *srcp++) /* Nothing */; ^ ExtHard.c: In function 'extHardGenerateLabel': ExtHard.c:449:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (*dstp++ = *srcp++) /* Nothing */; ^ ExtHard.c:406:11: warning: unused variable 'p' [-Wunused-variable] Point p; ^ ExtHard.c: In function 'extHardFreeAll': ExtHard.c:496:6: warning: implicit declaration of function 'ExtFindNeighbors'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] ExtFindNeighbors(reg->treg_tile, arg.fra_pNum, &arg); ^~~~~~~~~~~~~~~~ ExtFindRegions --- compiling extract/ExtHier.o rm -f ExtHier.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ExtHier.c ExtHier.c: In function 'extHierSubstrate': ExtHier.c:108:5: warning: implicit declaration of function 'ExtLabelRegions'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] ExtLabelRegions(use->cu_def, ExtCurStyle->exts_nodeConn, &nodeList, ^~~~~~~~~~~~~~~ ExtFindRegions ExtHier.c:111:5: warning: implicit declaration of function 'ExtResetTiles'; did you mean 'ExtSetStyle'? [-Wimplicit-function-declaration] ExtResetTiles(use->cu_def, extUnInit); ^~~~~~~~~~~~~ ExtSetStyle ExtHier.c:86:14: warning: variable 'def' set but not used [-Wunused-but-set-variable] CellDef *def; ^~~ ExtHier.c: In function 'extHierConnections': ExtHier.c:198:11: warning: unused variable 'cumDef' [-Wunused-variable] CellDef *cumDef = cumFlat->et_use->cu_def; ^~~~~~ ExtHier.c: In function 'extHierConnectFunc1': ExtHier.c:267:3: warning: implicit declaration of function 'DBSrPaintNMArea'; did you mean 'DBSrPaintArea'? [-Wimplicit-function-declaration] DBSrPaintNMArea((Tile *) NULL, cumDef->cd_planes[i], ^~~~~~~~~~~~~~~ DBSrPaintArea ExtHier.c:239:14: warning: unused variable 'n' [-Wunused-variable] unsigned n; ^ ExtHier.c:237:18: warning: unused variable 'newlab' [-Wunused-variable] Label *lab, *newlab; ^~~~~~ ExtHier.c: In function 'extHierAdjustments': ExtHier.c:584:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&oneFlat->et_coupleHash, &hs)) ^~ ExtHier.c: In function 'extOutputConns': ExtHier.c:675:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(table, &hs)) ^~ ExtHier.c:685:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (node = nfirst->nn_node) ^~~~ ExtHier.c:695:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (nnext = nn->nn_next) ^~~~~ ExtHier.c:709:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (nn = nnext; nnext = nn->nn_next; nn = nnext) ^~~~~ ExtHier.c: In function 'extHierLabEach': ExtHier.c:820:5: warning: implicit declaration of function 'extSetNodeNum'; did you mean 'extNodeName'? [-Wimplicit-function-declaration] extSetNodeNum(reg, pNum, tile); ^~~~~~~~~~~~~ extNodeName ExtHier.c: In function 'extHierNewOne': ExtHier.c:865:2: warning: implicit declaration of function 'DBNewYank'; did you mean 'DBNewPlane'? [-Wimplicit-function-declaration] DBNewYank(defname, &et->et_use, &dummy); ^~~~~~~~~ DBNewPlane ExtHier.c: In function 'extHierFreeOne': ExtHier.c:903:23: warning: implicit declaration of function 'ExtFreeLabRegions'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] if (et->et_nodes) ExtFreeLabRegions((LabRegion *) et->et_nodes); ^~~~~~~~~~~~~~~~~ ExtFindRegions ExtHier.c:904:5: warning: implicit declaration of function 'extHierFreeLabels'; did you mean 'extHierFreeOne'? [-Wimplicit-function-declaration] extHierFreeLabels(et->et_use->cu_def); ^~~~~~~~~~~~~~~~~ extHierFreeOne ExtHier.c: In function 'extHierConnectFunc1': ExtHier.c:267:3: warning: 'rtype' may be used uninitialized in this function [-Wmaybe-uninitialized] DBSrPaintNMArea((Tile *) NULL, cumDef->cd_planes[i], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rtype, &r, ~~~~~~~~~~ ((i == ha->hierPNum) ? &ExtCurStyle->exts_activeTypes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : connected), extHierConnectFunc2, (ClientData) ha); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling extract/ExtLength.o rm -f ExtLength.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ExtLength.c ExtLength.c: In function 'extLength': ExtLength.c:254:2: warning: implicit declaration of function 'DBNewYank'; did you mean 'DBNewPlane'? [-Wimplicit-function-declaration] DBNewYank("__PATHYANK__", &extPathUse, &extPathDef); ^~~~~~~~~ DBNewPlane ExtLength.c:263:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&extDriverHash, &hs)) ^~ ExtLength.c:275:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&extDriverHash, &hs)) ^~ ExtLength.c: In function 'extLengthYank': ExtLength.c:382:2: warning: implicit declaration of function 'TxMore'; did you mean 'TxUseMore'? [-Wimplicit-function-declaration] TxMore(mesg); ^~~~~~ TxUseMore ExtLength.c: In function 'extPathPairDistance': ExtLength.c:655:13: warning: implicit declaration of function 'DBSrPaintClient'; did you mean 'DBSrPaintArea'? [-Wimplicit-function-declaration] (void) DBSrPaintClient((Tile *) NULL, extPathDef->cd_planes[pNum], ^~~~~~~~~~~~~~~ DBSrPaintArea ExtLength.c: In function 'extPathFlood': ExtLength.c:794:2: warning: implicit declaration of function 'ShowRect'; did you mean 'TiToRect'? [-Wimplicit-function-declaration] ShowRect(extPathDef, &r, STYLE_SOLIDHIGHLIGHTS); ^~~~~~~~ TiToRect ExtLength.c:804:16: warning: implicit declaration of function 'extPathTileDist'; did you mean 'extPathFlood'? [-Wimplicit-function-declaration] newdistance = extPathTileDist(p, &p2, tile, distance); ^~~~~~~~~~~~~~~ extPathFlood ExtLength.c:877:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pMask = DBAllConnPlanes[type]) ^~~~~ --- compiling extract/ExtMain.o rm -f ExtMain.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ExtMain.c ExtMain.c: In function 'ExtInit': ExtMain.c:119:22: warning: missing braces around initializer [-Wmissing-braces] } debugFlags[] = { ^ "areaenum", &extDebAreaEnum, { } "array", &extDebArray, { } "hardway", &extDebHardWay, { } "hiercap", &extDebHierCap, { } "hierareacap", &extDebHierAreaCap, { } "label", &extDebLabel, { } "length", &extDebLength, { } "neighbor", &extDebNeighbor, { } "noarray", &extDebNoArray, { } "nofeedback", &extDebNoFeedback, { } "nohard", &extDebNoHard, { } "nosubcell", &extDebNoSubcell, { } "perimeter", &extDebPerim, { } "resist", &extDebResist, { } "visonly", &extDebVisOnly, { } "yank", &extDebYank, { } 0 { }; } ExtMain.c:147:5: warning: implicit declaration of function 'DBNewYank'; did you mean 'DBNewPlane'? [-Wimplicit-function-declaration] DBNewYank("__ext_cumulative", &extYuseCum, &extYdefCum); ^~~~~~~~~ DBNewPlane ExtMain.c:154:5: warning: implicit declaration of function 'extLengthInit'; did you mean 'ExtTechInit'? [-Wimplicit-function-declaration] extLengthInit(); ^~~~~~~~~~~~~ ExtTechInit ExtMain.c: In function 'ExtUnique': ExtMain.c:281:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (def = (CellDef *) StackPop(extDefStack)) ^~~ ExtMain.c:285:15: warning: implicit declaration of function 'extUniqueCell'; did you mean 'ExtUnique'? [-Wimplicit-function-declaration] nwarn += extUniqueCell(def, option); ^~~~~~~~~~~~~ ExtUnique ExtMain.c: In function 'ExtIncremental': ExtMain.c:551:12: warning: implicit declaration of function 'extDefIncrementalFunc'; did you mean 'extDefParentFunc'? [-Wimplicit-function-declaration] (void) extDefIncrementalFunc(rootUse); ^~~~~~~~~~~~~~~~~~~~~ extDefParentFunc ExtMain.c: In function 'extExtractStack': ExtMain.c:642:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (def = (CellDef *) StackPop(stack)) ^~~ --- compiling extract/ExtNghbors.o rm -f ExtNghbors.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ExtNghbors.c ExtNghbors.c: In function 'ExtFindNeighbors': ExtNghbors.c:125:6: warning: implicit declaration of function 'extShowTile'; did you mean 'extNodeToTile'? [-Wimplicit-function-declaration] extShowTile(tile, "neighbor", 1); ^~~~~~~~~~~ extNodeToTile ExtNghbors.c:298:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pMask = DBAllConnPlanes[type]) ^~~~~ ExtNghbors.c:128:1: warning: label 'topside' defined but not used [-Wunused-label] topside: ^~~~~~~ --- compiling extract/ExtPerim.o rm -f ExtPerim.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ExtPerim.c --- compiling extract/ExtRegion.o rm -f ExtRegion.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ExtRegion.c ExtRegion.c: In function 'ExtFindRegions': ExtRegion.c:123:9: warning: implicit declaration of function 'DBSrPaintClient'; did you mean 'DBSrPaintArea'? [-Wimplicit-function-declaration] (void) DBSrPaintClient((Tile *) NULL, def->cd_planes[arg.fra_pNum], ^~~~~~~~~~~~~~~ DBSrPaintArea ExtRegion.c: In function 'extRegionAreaFunc': ExtRegion.c:164:2: warning: implicit declaration of function 'extShowTile'; did you mean 'extNodeToTile'? [-Wimplicit-function-declaration] extShowTile(tile, "area enum", 0); ^~~~~~~~~~~ extNodeToTile ExtRegion.c:167:12: warning: implicit declaration of function 'ExtFindNeighbors'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] (void) ExtFindNeighbors(tile, arg->fra_pNum, arg); ^~~~~~~~~~~~~~~~ ExtFindRegions ExtRegion.c: In function 'ExtResetTiles': ExtRegion.c:387:2: warning: implicit declaration of function 'DBResetTilePlane'; did you mean 'DBFreePaintPlane'? [-Wimplicit-function-declaration] DBResetTilePlane(def->cd_planes[pNum], resetTo); ^~~~~~~~~~~~~~~~ DBFreePaintPlane --- compiling extract/ExtSubtree.o rm -f ExtSubtree.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ExtSubtree.c ExtSubtree.c: In function 'extSubtree': ExtSubtree.c:187:15: warning: implicit declaration of function 'DRCFindInteractions' [-Wimplicit-function-declaration] result = DRCFindInteractions(def, &rbloat, halo, &ha.ha_interArea); ^~~~~~~~~~~~~~~~~~~ ExtSubtree.c:225:3: warning: implicit declaration of function 'DBCellSrArea'; did you mean 'DBCellSrDefs'? [-Wimplicit-function-declaration] DBCellSrArea(&scx, extSubstrateFunc, (ClientData)&ha); ^~~~~~~~~~~~ DBCellSrDefs ExtSubtree.c:265:5: warning: implicit declaration of function 'extOutputConns' [-Wimplicit-function-declaration] extOutputConns(&ha.ha_connHash, f); ^~~~~~~~~~~~~~ ExtSubtree.c: In function 'extSubtreeInteraction': ExtSubtree.c:390:2: warning: implicit declaration of function 'extFindCoupling'; did you mean 'extFindNodes'? [-Wimplicit-function-declaration] extFindCoupling(oneDef, &oneFlat->et_coupleHash, &ha->ha_clipArea); ^~~~~~~~~~~~~~~ extFindNodes ExtSubtree.c:423:2: warning: implicit declaration of function 'ExtLabelRegions'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] ExtLabelRegions(cumDef, ExtCurStyle->exts_nodeConn, ^~~~~~~~~~~~~~~ ExtFindRegions ExtSubtree.c:437:6: warning: implicit declaration of function 'extHierAdjustments'; did you mean 'extSubtreeAdjustInit'? [-Wimplicit-function-declaration] extHierAdjustments(ha, &ha->ha_cumFlat, oneFlat, &ha->ha_cumFlat); ^~~~~~~~~~~~~~~~~~ extSubtreeAdjustInit ExtSubtree.c:491:31: warning: implicit declaration of function 'extHierFreeOne'; did you mean 'extHierNewOne'? [-Wimplicit-function-declaration] nextFlat = oneFlat->et_next, extHierFreeOne(oneFlat); ^~~~~~~~~~~~~~ extHierNewOne ExtSubtree.c:501:2: warning: implicit declaration of function 'ExtFreeLabRegions'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] ExtFreeLabRegions((LabRegion *) ha->ha_cumFlat.et_nodes); ^~~~~~~~~~~~~~~~~ ExtFindRegions ExtSubtree.c:503:5: warning: implicit declaration of function 'extHierFreeLabels'; did you mean 'extHierNewNode'? [-Wimplicit-function-declaration] extHierFreeLabels(cumDef); ^~~~~~~~~~~~~~~~~ extHierNewNode ExtSubtree.c: In function 'extSubtreeOutputCoupling': ExtSubtree.c:608:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&ha->ha_cumFlat.et_coupleHash, &hs)) ^~ ExtSubtree.c: In function 'extSubtreeFunc': ExtSubtree.c:750:5: warning: implicit declaration of function 'extHierConnections'; did you mean 'extConnectsTo'? [-Wimplicit-function-declaration] extHierConnections(ha, &ha->ha_cumFlat, oneFlat); ^~~~~~~~~~~~~~~~~~ extConnectsTo ExtSubtree.c:758:2: warning: implicit declaration of function 'extHierSubstrate'; did you mean 'extHierLabFirst'? [-Wimplicit-function-declaration] extHierSubstrate(ha, use, -1, -1); ^~~~~~~~~~~~~~~~ extHierLabFirst ExtSubtree.c:779:2: warning: implicit declaration of function 'ExtResetTiles'; did you mean 'ExtSetStyle'? [-Wimplicit-function-declaration] ExtResetTiles(cumUse->cu_def, extUnInit); ^~~~~~~~~~~~~ ExtSetStyle ExtSubtree.c:796:5: warning: implicit declaration of function 'extHierCopyLabels'; did you mean 'DBCellCopyLabels'? [-Wimplicit-function-declaration] extHierCopyLabels(oneFlat->et_use->cu_def, cumUse->cu_def); ^~~~~~~~~~~~~~~~~ DBCellCopyLabels ExtSubtree.c: In function 'extSubtreeTileToNode': ExtSubtree.c:955:7: warning: implicit declaration of function 'DBSrPaintNMArea'; did you mean 'DBSrPaintArea'? [-Wimplicit-function-declaration] if (DBSrPaintNMArea((Tile *) NULL, ^~~~~~~~~~~~~~~ DBSrPaintArea ExtSubtree.c:920:14: warning: variable 'ttype' set but not used [-Wunused-but-set-variable] TileType ttype; ^~~~~ ExtSubtree.c:918:12: warning: unused variable 'lab' [-Wunused-variable] Label *lab; ^~~ --- compiling extract/ExtTech.o rm -f ExtTech.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ExtTech.c ExtTech.c:87:29: warning: missing braces around initializer [-Wmissing-braces] static keydesc keyTable[] = { ^ "areacap", AREAC, 3, 3, { "types capacitance", } ExtTech.c:91:5: "contact", CONTACT, 3, 6, { "type resistance", } ExtTech.c:94:5: "cscale", CSCALE, 2, 2, { "capacitance-scalefactor", } ExtTech.c:97:5: "defaultareacap", DEFAULTAREACAP, 4, 6, { "types plane capacitance", } ExtTech.c:100:5: "defaultoverlap", DEFAULTOVERLAP, 6, 6, { "types plane otertypes otherplane capacitance", } ExtTech.c:103:5: "defaultperimeter", DEFAULTPERIMETER, 4, 6, { "types plane capacitance", } ExtTech.c:106:5: "defaultsideoverlap", DEFAULTSIDEOVERLAP, 6, 6, { "types plane othertypes otherplane capacitance", } ExtTech.c:109:5: "defaultsidewall", DEFAULTSIDEWALL, 4, 4, { "types plane capacitance", } ExtTech.c:112:5: "device", DEVICE, 4, 10, { "device dev-type types options...", } ExtTech.c:115:5: "fet", FET, 8, 9, { "types terminal-types min-#-terminals name [subs-types] subs-node gscap gate-chan-cap", } ExtTech.c:118:5: "fetresist", FETRESIST, 4, 4, { "type region ohms-per-square", } ExtTech.c:121:5: "height", HEIGHT, 4, 4, { "type height-above-subtrate thickness", } ExtTech.c:124:5: "lambda", LAMBDA, 2, 2, { "units-per-lambda", } ExtTech.c:127:5: "overlap", OVERC, 4, 5, { "toptypes bottomtypes capacitance [shieldtypes]", } ExtTech.c:130:5: "perimc", PERIMC, 4, 4, { "intypes outtypes capacitance", } ExtTech.c:133:5: "planeorder", PLANEORDER, 3, 3, { "plane index", } "noplaneordering", NOPLANEORDER, 1, 1, { "(no arguments needed)", } ExtTech.c:138:5: "resist", RESIST, 3, 4, { "types resistance", } ExtTech.c:141:5: "rscale", RSCALE, 2, 2, { "resistance-scalefactor", } ExtTech.c:144:5: "sidehalo", SIDEHALO, 2, 2, { "halo", } ExtTech.c:147:5: "sideoverlap", SIDEOVERLAP, 5, 6, { "intypes outtypes ovtypes capacitance [shieldtypes]", } ExtTech.c:150:5: "sidewall", SIDEWALL, 6, 6, { "intypes outtypes neartypes fartypes capacitance", } ExtTech.c:153:5: "step", STEP, 2, 2, { "size", } ExtTech.c:156:5: "style", STYLE, 2, 4, { "stylename", } ExtTech.c:159:5: "substrate", SUBSTRATE, 3, 3, { "types plane", } ExtTech.c:162:5: "units", UNITS, 2, 2, { "lambda|microns", } ExtTech.c:165:5: "variants", VARIANT, 2, 2, { "style,...", } ExtTech.c:168:5: 0 { }; } ExtTech.c:181:29: warning: missing braces around initializer [-Wmissing-braces] static keydesc devTable[] = { ^ "mosfet", DEV_MOSFET, 5, 10, { "name gate-types src-types [drn-types] sub-types|None sub-node [gscap gccap]", } ExtTech.c:185:5: "bjt", DEV_BJT, 5, 5, { "name base-types emitter-types collector-types", } ExtTech.c:188:5: "capacitor", DEV_CAP, 4, 8, { "name top-types bottom-types [sub-types|None sub-node] [[perimcap] areacap]", } ExtTech.c:191:5: "capreverse", DEV_CAPREV, 4, 8, { "name bottom-types top-types [sub-types|None sub-node] [[perimcap] areacap]", } ExtTech.c:194:5: "resistor", DEV_RES, 4, 6, { "name|None res-types terminal-types [sub-types|None sub-node]", } ExtTech.c:197:5: "diode", DEV_DIODE, 4, 6, { "name pos-types neg-types [sub-types|None sub-node]", } ExtTech.c:200:5: "pdiode", DEV_PDIODE, 4, 6, { "name pos-types neg-types [sub-types|None sub-node]", } ExtTech.c:203:5: "ndiode", DEV_NDIODE, 4, 6, { "name neg-types pos-types [sub-types|None sub-node]", } ExtTech.c:206:5: "subcircuit", DEV_SUBCKT, 3, 11, { "name dev-types [N] [term1-types ... termN-types [sub-types|None sub-node]] [options]", } ExtTech.c:209:5: "rsubcircuit", DEV_RSUBCKT, 4, 7, { "name dev-types terminal-types [sub-types|None sub-node] [options]", } ExtTech.c:212:5: "msubcircuit", DEV_MSUBCKT, 3, 11, { "name dev-types [N] [term1-types ... termN-types [sub-types|None sub-node]] [options]", } ExtTech.c:215:5: 0 { }; } ExtTech.c: In function 'ExtLoadStyle': ExtTech.c:769:14: warning: implicit declaration of function 'TechSectionGetMask'; did you mean 'SelectionRequest'? [-Wimplicit-function-declaration] invext = TechSectionGetMask("extract", NULL); ^~~~~~~~~~~~~~~~~~ SelectionRequest ExtTech.c:770:5: warning: implicit declaration of function 'TechLoad' [-Wimplicit-function-declaration] TechLoad(NULL, invext); ^~~~~~~~ ExtTech.c: In function 'ExtTechLine': ExtTech.c:1577:9: warning: unused variable 'refcnt' [-Wunused-variable] int refcnt; ^~~~~~ ExtTech.c:1564:21: warning: unused variable 'size' [-Wunused-variable] int n, l, i, j, size, val, p1, p2, p3, nterm, iterm, class; ^~~~ ExtTech.c: In function 'ExtTechFinal': ExtTech.c:2633:15: warning: unused variable 'es' [-Wunused-variable] ExtStyle *es; ^~ ExtTech.c: In function 'ExtTechScale': ExtTech.c:2942:5: warning: implicit declaration of function 'DBScaleValue'; did you mean 'BadValue'? [-Wimplicit-function-declaration] DBScaleValue(&style->exts_sideCoupleHalo, scaled, scalen); ^~~~~~~~~~~~ BadValue At top level: ExtTech.c:22:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)ExtTech.c 4.8 MAGIC (Berkeley) 10/26/85"; ^~~~~~ ExtTech.c: In function 'ExtGetDevInfo': ExtTech.c:324:17: warning: 'locdname' may be used uninitialized in this function [-Wmaybe-uninitialized] *devnameptr = locdname; ~~~~~~~~~~~~^~~~~~~~~~ ExtTech.c: In function 'ExtTechLine': ExtTech.c:2207:41: warning: 'nterm' may be used uninitialized in this function [-Wmaybe-uninitialized] ExtCurStyle->exts_transSDCount[t] = nterm; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ExtTech.c:1564:12: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized] int n, l, i, j, size, val, p1, p2, p3, nterm, iterm, class; ^ --- compiling extract/ExtTest.o rm -f ExtTest.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ExtTest.c ExtTest.c: In function 'ExtractTest': ExtTest.c:130:16: warning: missing braces around initializer [-Wmissing-braces] } cmds[] = { ^ "clrdebug", CLRDEBUG, { } "clrlength", CLRLENGTH, { } "driver", DRIVER, { } "dump", DUMP, { } "interactions", INTERACTIONS, { } "intercount", INTERCOUNT, { } "parents", EXTPARENTS, { } "receiver", RECEIVER, { } "setdebug", SETDEBUG, { } "showdebug", SHOWDEBUG, { } "showparents", SHOWPARENTS, { } "showtech", SHOWTECH, { } "stats", STATS, { } "step", STEP, { } "times", TIME, { } 0 { }; } ExtTest.c:207:6: warning: implicit declaration of function 'ExtFindInteractions'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] ExtFindInteractions(EditCellUse->cu_def, halo, bloat, interPlane); ^~~~~~~~~~~~~~~~~~~ ExtFindRegions ExtTest.c:226:6: warning: implicit declaration of function 'ExtInterCount' [-Wimplicit-function-declaration] ExtInterCount((CellUse *) w->w_surfaceID, halo, f); ^~~~~~~~~~~~~ ExtTest.c:241:6: warning: implicit declaration of function 'ExtTimes' [-Wimplicit-function-declaration] ExtTimes((CellUse *) w->w_surfaceID, f); ^~~~~~~~ ExtTest.c:247:3: warning: implicit declaration of function 'ExtParentArea'; did you mean 'DBSrPaintArea'? [-Wimplicit-function-declaration] ExtParentArea(EditCellUse, &editArea, TRUE); ^~~~~~~~~~~~~ DBSrPaintArea ExtTest.c:265:6: warning: implicit declaration of function 'ExtSetDriver'; did you mean 'ExtSetStyle'? [-Wimplicit-function-declaration] ExtSetDriver(cmd->tx_argv[2]); ^~~~~~~~~~~~ ExtSetStyle ExtTest.c:273:6: warning: implicit declaration of function 'ExtSetReceiver'; did you mean 'ExtSetStyle'? [-Wimplicit-function-declaration] ExtSetReceiver(cmd->tx_argv[2]); ^~~~~~~~~~~~~~ ExtSetStyle ExtTest.c:277:6: warning: implicit declaration of function 'ExtLengthClear'; did you mean 'ExtSetStyle'? [-Wimplicit-function-declaration] ExtLengthClear(); ^~~~~~~~~~~~~~ ExtSetStyle ExtTest.c:121:18: warning: unused variable 'name' [-Wunused-variable] char *addr, *name; ^~~~ ExtTest.c:121:11: warning: unused variable 'addr' [-Wunused-variable] char *addr, *name; ^~~~ ExtTest.c: In function 'extShowTech': ExtTest.c:452:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (e = ExtCurStyle->exts_sideCoupleCap[s][t]) ^ ExtTest.c:461:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (e = ExtCurStyle->exts_sideOverlapCap[s][t]) ^ ExtTest.c: In function 'extNewYank': ExtTest.c:724:5: warning: implicit declaration of function 'DBNewYank'; did you mean 'extNewYank'? [-Wimplicit-function-declaration] DBNewYank(name, puse, pdef); ^~~~~~~~~ extNewYank --- compiling extract/ExtTimes.o rm -f ExtTimes.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ExtTimes.c ExtTimes.c: In function 'ExtTimes': ExtTimes.c:201:12: warning: implicit declaration of function 'extTimesInitFunc'; did you mean 'extTimesIncrFunc'? [-Wimplicit-function-declaration] (void) extTimesInitFunc(rootUse); ^~~~~~~~~~~~~~~~ extTimesIncrFunc ExtTimes.c:209:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&cellStatsTable, &hs)) ^~ ExtTimes.c:219:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&cellStatsTable, &hs)) ^~ ExtTimes.c:228:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&cellStatsTable, &hs)) ^~ ExtTimes.c: In function 'extTimesCellFunc': ExtTimes.c:353:5: warning: implicit declaration of function 'ExtResetTiles'; did you mean 'extCountTiles'? [-Wimplicit-function-declaration] ExtResetTiles(def, extUnInit); ^~~~~~~~~~~~~ extCountTiles ExtTimes.c:356:5: warning: implicit declaration of function 'ExtFreeLabRegions'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] ExtFreeLabRegions((LabRegion *) transList); ^~~~~~~~~~~~~~~~~ ExtFindRegions ExtTimes.c: In function 'extTimesIncrFunc': ExtTimes.c:440:12: warning: implicit declaration of function 'extTimesHierFunc'; did you mean 'extTimesIncrFunc'? [-Wimplicit-function-declaration] (void) extTimesHierFunc(cs->cs_def, cs); ^~~~~~~~~~~~~~~~ extTimesIncrFunc ExtTimes.c:450:12: warning: implicit declaration of function 'extTimesFlatFunc'; did you mean 'extTimesInitFunc'? [-Wimplicit-function-declaration] (void) extTimesFlatFunc(cs->cs_def, cs); ^~~~~~~~~~~~~~~~ extTimesInitFunc ExtTimes.c: In function 'extTimeProc': ExtTimes.c:777:22: warning: unused variable 'i' [-Wunused-variable] int secs, usecs, i; ^ ExtTimes.c:777:15: warning: unused variable 'usecs' [-Wunused-variable] int secs, usecs, i; ^~~~~ ExtTimes.c:777:9: warning: unused variable 'secs' [-Wunused-variable] int secs, usecs, i; ^~~~ ExtTimes.c: In function 'extHierCell': ExtTimes.c:861:5: warning: implicit declaration of function 'extCellFile'; did you mean 'ExtCell'? [-Wimplicit-function-declaration] extCellFile(def, extDevNull, FALSE); ^~~~~~~~~~~ ExtCell ExtTimes.c: In function 'ExtInterCount': ExtTimes.c:1038:12: warning: implicit declaration of function 'extInterAreaFunc'; did you mean 'ExtInterCount'? [-Wimplicit-function-declaration] (void) extInterAreaFunc(rootUse, f); ^~~~~~~~~~~~~~~~ ExtInterCount ExtTimes.c: In function 'extInterAreaFunc': ExtTimes.c:1079:5: warning: implicit declaration of function 'ExtFindInteractions'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] ExtFindInteractions(def, extInterCountHalo, 0, interPlane); ^~~~~~~~~~~~~~~~~~~ ExtFindRegions --- compiling extract/ExtYank.o rm -f ExtYank.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ExtYank.c ExtYank.c: In function 'extHierLabelFunc': ExtYank.c:218:10: warning: implicit declaration of function 'extLabType' [-Wimplicit-function-declaration] if (!extLabType(label->lab_text, LABTYPE_NAME)) ^~~~~~~~~~ ExtYank.c:236:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (srcp = tpath->tp_first; *dstp++ = *srcp++; ) ^ ExtYank.c:238:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (--dstp, srcp = label->lab_text; *dstp++ = *srcp++; ) ^ --- compiling extract/ExtInter.o rm -f ExtInter.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ExtInter.c ExtInter.c: In function 'ExtFindInteractions': ExtInter.c:116:12: warning: implicit declaration of function 'extCellSrArea' [-Wimplicit-function-declaration] (void) extCellSrArea(&scx, extInterSubtree, (ClientData) NULL); ^~~~~~~~~~~~~ ExtInter.c: In function 'extInterOverlapSubtree': ExtInter.c:320:12: warning: implicit declaration of function 'extTreeSrPaintArea'; did you mean 'DBSrPaintArea'? [-Wimplicit-function-declaration] (void) extTreeSrPaintArea(scx, extInterOverlapTile, (ClientData) NULL); ^~~~~~~~~~~~~~~~~~ DBSrPaintArea --- compiling extract/ExtUnique.o rm -f ExtUnique.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ExtUnique.c ExtUnique.c: In function 'extUniqueCell': ExtUnique.c:101:5: warning: implicit declaration of function 'ExtLabelRegions'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] ExtLabelRegions(def, ExtCurStyle->exts_nodeConn, &lregList, &TiPlaneRect); ^~~~~~~~~~~~~~~ ExtFindRegions ExtUnique.c:108:6: warning: implicit declaration of function 'extLabType' [-Wimplicit-function-declaration] if (extLabType(lab->lab_text, LABTYPE_NAME)) ^~~~~~~~~~ ExtUnique.c:143:12: warning: implicit declaration of function 'extMakeUnique' [-Wimplicit-function-declaration] nwarn += extMakeUnique(def, ll, lp, lregList, ^~~~~~~~~~~~~ ExtUnique.c:151:5: warning: implicit declaration of function 'ExtFreeLabRegions'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] ExtFreeLabRegions((LabRegion *) lregList); ^~~~~~~~~~~~~~~~~ ExtFindRegions ExtUnique.c:152:5: warning: implicit declaration of function 'ExtResetTiles'; did you mean 'ExtSetStyle'? [-Wimplicit-function-declaration] ExtResetTiles(def, extUnInit); ^~~~~~~~~~~~~ ExtSetStyle --- linking libextract.o rm -f libextract.o ld -r ExtArray.o ExtBasic.o ExtCell.o ExtCouple.o ExtHard.o ExtHier.o ExtLength.o ExtMain.o ExtNghbors.o ExtPerim.o ExtRegion.o ExtSubtree.o ExtTech.o ExtTest.o ExtTimes.o ExtYank.o ExtInter.o ExtUnique.o -o libextract.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/extract' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/graphics' --- compiling graphics/grMain.o rm -f grMain.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grMain.c grMain.c:80:28: warning: missing braces around initializer [-Wmissing-braces] global Rect GrScreenRect = {0, 0, 0, 0}; ^ { } { } grMain.c: In function 'GrGuessDisplayType': grMain.c:394:14: warning: implicit declaration of function 'access' [-Wimplicit-function-declaration] onSun = (access("/dev/win0", 0) == 0); ^~~~~~ --- compiling graphics/grLock.o rm -f grLock.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grLock.c --- compiling graphics/grDStyle.o rm -f grDStyle.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grDStyle.c grDStyle.c: In function 'styleBuildDisplayStyle': grDStyle.c:205:28: warning: unused variable 'sstyle' [-Wunused-variable] dstylelink *newstyle, *sstyle; ^~~~~~ grDStyle.c: In function 'GrLoadCursors': grDStyle.c:362:10: warning: implicit declaration of function 'GrReadGlyphs'; did you mean 'GrFreeGlyphs'? [-Wimplicit-function-declaration] if (!GrReadGlyphs(grCursorType, path, libPath, &grCursorGlyphs)) ^~~~~~~~~~~~ GrFreeGlyphs grDStyle.c: In function 'GrLoadStyles': grDStyle.c:474:11: warning: unused variable 'locbitplanes' [-Wunused-variable] int locbitplanes; ^~~~~~~~~~~~ grDStyle.c:491:4: warning: implicit declaration of function 'MainExit'; did you mean 'atexit'? [-Wimplicit-function-declaration] MainExit(1); ^~~~~~~~ atexit grDStyle.c:563:6: warning: 'newres' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!newres) ^ grDStyle.c:442:13: warning: 'section' may be used uninitialized in this function [-Wmaybe-uninitialized] int section; ^~~~~~~ grDStyle.c:605:20: warning: 'scount' may be used uninitialized in this function [-Wmaybe-uninitialized] MaxTileStyles = MaxTechStyles + scount; ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ --- compiling graphics/grText.o rm -f grText.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grText.c grText.c: In function 'GrFontText': grText.c:60:11: warning: unused variable 'pstart' [-Wunused-variable] Point pstart; ^~~~~~ grText.c: In function 'GrPutText': grText.c:211:14: warning: 'ypos' may be used uninitialized in this function [-Wmaybe-uninitialized] posR.r_ytop += ypos; ^~ grText.c: In function 'GrLabelSize': grText.c:326:18: warning: 'yoffset' may be used uninitialized in this function [-Wmaybe-uninitialized] int xoffset, yoffset; /* Offsets due to label position. */ ^~~~~~~ grText.c:326:9: warning: 'xoffset' may be used uninitialized in this function [-Wmaybe-uninitialized] int xoffset, yoffset; /* Offsets due to label position. */ ^~~~~~~ --- compiling graphics/grCMap.o rm -f grCMap.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grCMap.c --- compiling graphics/grClip.o rm -f grClip.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grClip.c grClip.c:49:27: warning: missing braces around initializer [-Wmissing-braces] global Rect GrCrossRect = {-GR_CROSSSIZE, -GR_CROSSSIZE, GR_CROSSSIZE, GR_CROSSSIZE}; ^ grClip.c: In function 'GrClipLine': grClip.c:416:2: warning: implicit declaration of function 'GeoCanonicalRect'; did you mean 'GeoTransRect'? [-Wimplicit-function-declaration] GeoCanonicalRect(l, &canonRect); ^~~~~~~~~~~~~~~~ GeoTransRect grClip.c: In function 'GrBoxOutline': grClip.c:580:17: warning: unused variable 'curseg' [-Wunused-variable] LinkedRect *curseg; ^~~~~~ grClip.c: In function 'GrBox': grClip.c:779:33: warning: unused variable 'simpleBox' [-Wunused-variable] bool needClip, needObscure, simpleBox; ^~~~~~~~~ --- compiling graphics/grGlyphs.o rm -f grGlyphs.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grGlyphs.c --- compiling graphics/grNull.o rm -f grNull.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grNull.c --- compiling graphics/W3Dmain.o rm -f W3Dmain.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c W3Dmain.c W3Dmain.c: In function 'w3dFillOps': W3Dmain.c:262:2: warning: implicit declaration of function 'GrClipTriangle'; did you mean 'GrClipLine'? [-Wimplicit-function-declaration] GrClipTriangle(&fullr, &r, cliprect != NULL, dinfo, p, &np); ^~~~~~~~~~~~~~ GrClipLine W3Dmain.c:289:9: warning: implicit declaration of function 'GrBoxOutline'; did you mean 'GrTextSize'? [-Wimplicit-function-declaration] if (GrBoxOutline(tile, &tilesegs)) ^~~~~~~~~~~~ GrTextSize W3Dmain.c: In function 'w3dPaintFunc': W3Dmain.c:563:3: warning: implicit declaration of function 'sigOnInterrupt' [-Wimplicit-function-declaration] sigOnInterrupt(0); ^~~~~~~~~~~~~~ W3Dmain.c:565:3: warning: implicit declaration of function 'SigSetTimer'; did you mean 'Tcl_SetTimer'? [-Wimplicit-function-declaration] SigSetTimer(0); ^~~~~~~~~~~ Tcl_SetTimer W3Dmain.c: In function 'w3dHelp': W3Dmain.c:646:19: warning: unused variable 'crec' [-Wunused-variable] W3DclientRec *crec = (W3DclientRec *) w->w_clientData; ^~~~ W3Dmain.c: In function 'w3dCutBox': W3Dmain.c:678:21: warning: unused variable 'mask' [-Wunused-variable] TileTypeBitMask mask; ^~~~ W3Dmain.c:677:19: warning: unused variable 'num_layers' [-Wunused-variable] int lidx = 1, num_layers; ^~~~~~~~~~ W3Dmain.c:677:9: warning: unused variable 'lidx' [-Wunused-variable] int lidx = 1, num_layers; ^~~~ W3Dmain.c:676:10: warning: unused variable 'hide' [-Wunused-variable] bool hide = FALSE; ^~~~ W3Dmain.c: In function 'w3dSeeLayers': W3Dmain.c:759:19: warning: unused variable 'num_layers' [-Wunused-variable] int lidx = 1, num_layers; ^~~~~~~~~~ W3Dmain.c: In function 'w3dClose': W3Dmain.c:814:9: warning: implicit declaration of function 'WindDelete'; did you mean 'W3Ddelete'? [-Wimplicit-function-declaration] (void) WindDelete(w); ^~~~~~~~~~ W3Ddelete W3Dmain.c:811:19: warning: unused variable 'crec' [-Wunused-variable] W3DclientRec *crec = (W3DclientRec *) w->w_clientData; ^~~~ W3Dmain.c: In function 'w3dRefresh': W3Dmain.c:988:19: warning: unused variable 'crec' [-Wunused-variable] W3DclientRec *crec = (W3DclientRec *) w->w_clientData; ^~~~ W3Dmain.c: In function 'w3dRenderValues': W3Dmain.c:1236:19: warning: unused variable 'crec' [-Wunused-variable] W3DclientRec *crec = (W3DclientRec *) w->w_clientData; ^~~~ W3Dmain.c: In function 'W3Dcreate': W3Dmain.c:1569:2: warning: implicit declaration of function 'MakeWindowCommand'; did you mean 'WindAddCommand'? [-Wimplicit-function-declaration] MakeWindowCommand((name == NULL) ? ".magic3d" : name, window); ^~~~~~~~~~~~~~~~~ WindAddCommand W3Dmain.c: In function 'W3Ddelete': W3Dmain.c:1604:15: warning: variable 'xw' set but not used [-Wunused-but-set-variable] Tk_Window xw; ^~ W3Dmain.c: In function 'W3Dredisplay': W3Dmain.c:1639:14: warning: variable 'cellDef' set but not used [-Wunused-but-set-variable] CellDef *cellDef; ^~~~~~~ W3Dmain.c: In function 'W3DCIFredisplay': W3Dmain.c:1720:22: warning: unused variable 'mask' [-Wunused-variable] TileTypeBitMask *mask; ^~~~ W3Dmain.c: In function 'W3Dcommand': W3Dmain.c:1790:9: warning: unused variable 'cmdNum' [-Wunused-variable] int cmdNum; ^~~~~~ W3Dmain.c: In function 'w3dRenderValues': W3Dmain.c:1261:35: warning: 'layer' may be used uninitialized in this function [-Wmaybe-uninitialized] Tcl_NewDoubleObj((double)(layer->cl_thick))); ~~~~~~^~~~~~~~~~~ --- compiling graphics/grTk1.o rm -f grTk1.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grTk1.c grTk1.c: In function 'GrTkInit': grTk1.c:658:15: warning: implicit declaration of function 'grTkLoadFont'; did you mean 'XLoadFont'? [-Wimplicit-function-declaration] rstatus = grTkLoadFont(); ^~~~~~~~~~~~ XLoadFont grTk1.c:350:17: warning: unused variable 'grvisual_info' [-Wunused-variable] XVisualInfo grvisual_info, *grvisual_get, grtemplate; ^~~~~~~~~~~~~ grTk1.c: In function 'GrTkClose': grTk1.c:684:5: warning: implicit declaration of function 'grTkFreeFonts'; did you mean 'Tk_FreeFont'? [-Wimplicit-function-declaration] grTkFreeFonts(); ^~~~~~~~~~~~~ Tk_FreeFont grTk1.c:676:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ grTk1.c: In function 'MagicEventProc': grTk1.c:794:15: warning: unused variable 'outChannel' [-Wunused-variable] Tcl_Channel outChannel = Tcl_GetStdChannel(TCL_STDOUT); ^~~~~~~~~~ grTk1.c:1123:7: warning: implicit declaration of function 'DBWHLRedrawPrepWindow'; did you mean 'XWithdrawWindow'? [-Wimplicit-function-declaration] DBWHLRedrawPrepWindow(mw, &surface); ^~~~~~~~~~~~~~~~~~~~~ XWithdrawWindow grTk1.c:1155:3: warning: implicit declaration of function 'WindRedisplay'; did you mean 'XCloseDisplay'? [-Wimplicit-function-declaration] WindRedisplay(mw); ^~~~~~~~~~~~~ XCloseDisplay grTk1.c: In function 'x11SetDisplay': grTk1.c:1201:11: warning: unused variable 'f' [-Wunused-variable] FILE* f; ^ grTk1.c:1200:11: warning: unused variable 'fullname' [-Wunused-variable] char *fullname; ^~~~~~~~ grTk1.c:1199:11: warning: unused variable 'planecount' [-Wunused-variable] char *planecount; ^~~~~~~~~~ grTk1.c: In function 'GrTkCreate': grTk1.c:1321:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (windowplace = XGetDefault(grXdpy, "magic", windowname)) ^~~~~~~~~~~ grTk1.c:1338:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tktop = Tk_MainWindow(magicinterp)) ^~~~~ grTk1.c: In function 'GrTkEventPending': grTk1.c:1703:14: warning: unused variable 'tkwind' [-Wunused-variable] Tk_Window tkwind = grCurrent.window; ^~~~~~ grTk1.c: In function 'GrTkIconUpdate': grTk1.c:1753:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (brack = strchr(text,'[')) ^~~~~ grTk1.c:1762:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (brack = strrchr(text,' ')) text = brack+1; ^~~~~ grTk1.c: In function 'GrTkInit': grTk1.c:573:10: warning: 'color_reserved' may be used uninitialized in this function [-Wmaybe-uninitialized] int usableColors = actualColors - color_reserved; ^~~~~~~~~~~~ grTk1.c:595:23: warning: 'color_base' may be used uninitialized in this function [-Wmaybe-uninitialized] grDisplay.basepixel = color_base; ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ grTk1.c:573:10: warning: 'grcolorCount' may be used uninitialized in this function [-Wmaybe-uninitialized] int usableColors = actualColors - color_reserved; ^~~~~~~~~~~~ grTk1.c: In function 'MagicEventProc': grTk1.c:999:13: warning: 'keywstate' may be used uninitialized in this function [-Wmaybe-uninitialized] macroDef = MacroRetrieve(mw->w_client, keywstate, &iMacro); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grTk1.c:782:11: warning: 'txbutton' may be used uninitialized in this function [-Wmaybe-uninitialized] if (WindButtonInFrame(mw, ButtonEvent->x, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grXToMagic(ButtonEvent->y), ~~~~~~~~~~~~~~~~~~~~~~~~~~~ txbutton)) ~~~~~~~~~ --- compiling graphics/grTk2.o rm -f grTk2.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grTk2.c --- compiling graphics/grTk3.o rm -f grTk3.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grTk3.c grTk3.c: In function 'GrTkReadPixel': grTk3.c:240:13: warning: implicit declaration of function 'XGetPixel'; did you mean 'Tk_GetPixels'? [-Wimplicit-function-declaration] value = XGetPixel(image, 0, 0); ^~~~~~~~~ Tk_GetPixels grTk3.c:241:44: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] return (value & (1 << grDisplay.depth) - 1); ~~~~~~~~~~~~~~~~~~~~~~~^~~ grTk3.c: In function 'grtkFontText': grTk3.c:342:9: warning: implicit declaration of function 'DBFontChar'; did you mean 'TxGetChar'? [-Wimplicit-function-declaration] DBFontChar(font, *tptr, NULL, NULL, &cbbox); ^~~~~~~~~~ TxGetChar grTk3.c:324:30: warning: unused variable 'lly' [-Wunused-variable] int np, i, j, w, h, llx, lly, baseline; ^~~ grTk3.c:324:25: warning: unused variable 'llx' [-Wunused-variable] int np, i, j, w, h, llx, lly, baseline; ^~~ grTk3.c:322:46: warning: unused variable 'corners' [-Wunused-variable] Point *coffset, *tp, loffset, locoffset, corners[4], lpos; ^~~~~~~ grTk3.c:404:22: warning: 'charbbox.r_ur.p_y' may be used uninitialized in this function [-Wmaybe-uninitialized] h = charbbox.r_ytop - charbbox.r_ybot + 1; grTk3.c:403:22: warning: 'charbbox.r_ur.p_x' may be used uninitialized in this function [-Wmaybe-uninitialized] w = charbbox.r_xtop - charbbox.r_xbot + 1; grTk3.c:404:22: warning: 'charbbox.r_ll.p_y' may be used uninitialized in this function [-Wmaybe-uninitialized] h = charbbox.r_ytop - charbbox.r_ybot + 1; grTk3.c:403:22: warning: 'charbbox.r_ll.p_x' may be used uninitialized in this function [-Wmaybe-uninitialized] w = charbbox.r_xtop - charbbox.r_xbot + 1; --- compiling graphics/grTk4.o rm -f grTk4.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grTk4.c --- compiling graphics/grTk5.o rm -f grTk5.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grTk5.c grTk5.c: In function 'GrTkSetCursor': grTk5.c:177:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (entry = HashNext(&grTkWindowTable,&hs)) ^~~~~ --- compiling graphics/grTOGL1.o rm -f grTOGL1.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grTOGL1.c grTOGL1.c: In function 'GrTOGLInit': grTOGL1.c:343:12: warning: implicit declaration of function 'grTkLoadFont'; did you mean 'XLoadFont'? [-Wimplicit-function-declaration] return grTkLoadFont(); ^~~~~~~~~~~~ XLoadFont grTOGL1.c:262:10: warning: unused variable 'rstatus' [-Wunused-variable] bool rstatus; ^~~~~~~ grTOGL1.c: In function 'GrTOGLClose': grTOGL1.c:361:5: warning: implicit declaration of function 'grTkFreeFonts'; did you mean 'Tk_FreeFont'? [-Wimplicit-function-declaration] grTkFreeFonts(); ^~~~~~~~~~~~~ Tk_FreeFont grTOGL1.c: In function 'TOGLEventProc': grTOGL1.c:552:15: warning: unused variable 'outChannel' [-Wunused-variable] Tcl_Channel outChannel = Tcl_GetStdChannel(TCL_STDOUT); ^~~~~~~~~~ grTOGL1.c:842:3: warning: implicit declaration of function 'WindRedisplay'; did you mean 'XCloseDisplay'? [-Wimplicit-function-declaration] WindRedisplay(mw); ^~~~~~~~~~~~~ XCloseDisplay grTOGL1.c:821:8: warning: unused variable 'result' [-Wunused-variable] bool result, need_resize; ^~~~~~ grTOGL1.c:895:7: warning: implicit declaration of function 'DBWHLRedrawPrepWindow'; did you mean 'XWithdrawWindow'? [-Wimplicit-function-declaration] DBWHLRedrawPrepWindow(mw, &surface); ^~~~~~~~~~~~~~~~~~~~~ XWithdrawWindow grTOGL1.c:493:12: warning: unused variable 'wind' [-Wunused-variable] Window wind; ^~~~ grTOGL1.c:490:19: warning: unused variable 'event' [-Wunused-variable] TxInputEvent *event; ^~~~~ grTOGL1.c: In function 'oglSetDisplay': grTOGL1.c:963:11: warning: unused variable 'f' [-Wunused-variable] FILE* f; ^ grTOGL1.c:962:11: warning: unused variable 'fullname' [-Wunused-variable] char *fullname; ^~~~~~~~ grTOGL1.c:961:11: warning: unused variable 'planecount' [-Wunused-variable] char *planecount; ^~~~~~~~~~ grTOGL1.c: In function 'GrTOGLCreate': grTOGL1.c:1092:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (windowplace = XGetDefault(grXdpy, "magic", windowname)) ^~~~~~~~~~~ grTOGL1.c:1108:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tktop = Tk_MainWindow(magicinterp)) ^~~~~ grTOGL1.c:1195:31: warning: implicit declaration of function 'grtoglLoadFont'; did you mean 'grtoglDrawLine'? [-Wimplicit-function-declaration] return (WindowNumber == 1) ? grtoglLoadFont() : 1; ^~~~~~~~~~~~~~ grtoglDrawLine grTOGL1.c:1146:7: warning: unused variable 'result' [-Wunused-variable] bool result; ^~~~~~ grTOGL1.c:1086:26: warning: unused variable 'attribmask' [-Wunused-variable] unsigned long attribmask = CWBackPixel | CWBorderPixel | CWColormap; ^~~~~~~~~~ grTOGL1.c: In function 'GrTOGLLock': grTOGL1.c:1345:12: warning: unused variable 'wind' [-Wunused-variable] Window wind; ^~~~ grTOGL1.c: In function 'GrTOGLIconUpdate': grTOGL1.c:1538:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (brack = strchr(text,'[')) ^~~~~ grTOGL1.c:1547:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (brack = strrchr(text,' ')) text = brack+1; ^~~~~ grTOGL1.c: In function 'TOGLEventProc': grTOGL1.c:743:13: warning: 'keywstate' may be used uninitialized in this function [-Wmaybe-uninitialized] macroDef = MacroRetrieve(mw->w_client, keywstate, &iMacro); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grTOGL1.c:540:11: warning: 'txbutton' may be used uninitialized in this function [-Wmaybe-uninitialized] if (WindButtonInFrame(mw, ButtonEvent->x, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grXtransY(mw, ButtonEvent->y), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txbutton)) ~~~~~~~~~ --- compiling graphics/grTOGL2.o rm -f grTOGL2.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grTOGL2.c --- compiling graphics/grTOGL3.o rm -f grTOGL3.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grTOGL3.c grTOGL3.c: In function 'grtoglFreeBackingStore': grTOGL3.c:255:4: warning: implicit declaration of function 'glDeleteFramebuffers'; did you mean 'glXDestroyPbuffer'? [-Wimplicit-function-declaration] glDeleteFramebuffers(1, &rf->framebuffer); ^~~~~~~~~~~~~~~~~~~~ glXDestroyPbuffer grTOGL3.c:256:4: warning: implicit declaration of function 'glDeleteRenderbuffers'; did you mean 'glDeleteTextures'? [-Wimplicit-function-declaration] glDeleteRenderbuffers(1, &rf->renderbuffer); ^~~~~~~~~~~~~~~~~~~~~ glDeleteTextures grTOGL3.c: In function 'grtoglCreateBackingStore': grTOGL3.c:288:4: warning: implicit declaration of function 'glGenFramebuffers'; did you mean 'glXDestroyPbuffer'? [-Wimplicit-function-declaration] glGenFramebuffers(1, &rf->framebuffer); ^~~~~~~~~~~~~~~~~ glXDestroyPbuffer grTOGL3.c:289:4: warning: implicit declaration of function 'glGenRenderbuffers'; did you mean 'glXCreatePbuffer'? [-Wimplicit-function-declaration] glGenRenderbuffers(1, &rf->renderbuffer); ^~~~~~~~~~~~~~~~~~ glXCreatePbuffer grTOGL3.c:290:4: warning: implicit declaration of function 'glBindRenderbuffer'; did you mean 'glXCreatePbuffer'? [-Wimplicit-function-declaration] glBindRenderbuffer(GL_RENDERBUFFER, rf->renderbuffer); ^~~~~~~~~~~~~~~~~~ glXCreatePbuffer grTOGL3.c:291:4: warning: implicit declaration of function 'glRenderbufferStorage'; did you mean 'GL_ARB_buffer_storage'? [-Wimplicit-function-declaration] glRenderbufferStorage(GL_RENDERBUFFER, GL_RGB, width, height); ^~~~~~~~~~~~~~~~~~~~~ GL_ARB_buffer_storage grTOGL3.c: In function 'grtoglGetBackingStore': grTOGL3.c:315:5: warning: implicit declaration of function 'glBindFramebuffer'; did you mean 'glXDestroyPbuffer'? [-Wimplicit-function-declaration] glBindFramebuffer(GL_READ_FRAMEBUFFER, rf->framebuffer); ^~~~~~~~~~~~~~~~~ glXDestroyPbuffer grTOGL3.c:317:5: warning: implicit declaration of function 'glFramebufferRenderbuffer' [-Wimplicit-function-declaration] glFramebufferRenderbuffer(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, ^~~~~~~~~~~~~~~~~~~~~~~~~ grTOGL3.c:323:5: warning: implicit declaration of function 'glBlitFramebuffer'; did you mean 'glXDestroyPbuffer'? [-Wimplicit-function-declaration] glBlitFramebuffer(r.r_xbot, r.r_ybot, r.r_xtop, r.r_ytop, ^~~~~~~~~~~~~~~~~ glXDestroyPbuffer grTOGL3.c:299:15: warning: variable 'ybot' set but not used [-Wunused-but-set-variable] int xbot, ybot; ^~~~ grTOGL3.c:299:9: warning: variable 'xbot' set but not used [-Wunused-but-set-variable] int xbot, ybot; ^~~~ grTOGL3.c:298:25: warning: variable 'height' set but not used [-Wunused-but-set-variable] unsigned int width, height; ^~~~~~ grTOGL3.c:298:18: warning: variable 'width' set but not used [-Wunused-but-set-variable] unsigned int width, height; ^~~~~ grTOGL3.c: In function 'grtoglScrollBackingStore': grTOGL3.c:336:29: warning: unused variable 'RenderbufferName' [-Wunused-variable] GLuint FramebufferName, RenderbufferName; ^~~~~~~~~~~~~~~~ grTOGL3.c:336:12: warning: unused variable 'FramebufferName' [-Wunused-variable] GLuint FramebufferName, RenderbufferName; ^~~~~~~~~~~~~~~ grTOGL3.c: In function 'grtoglPutBackingStore': grTOGL3.c:398:15: warning: variable 'xbot' set but not used [-Wunused-but-set-variable] int ybot, xbot; ^~~~ grTOGL3.c:398:9: warning: variable 'ybot' set but not used [-Wunused-but-set-variable] int ybot, xbot; ^~~~ grTOGL3.c:397:25: warning: variable 'height' set but not used [-Wunused-but-set-variable] unsigned int width, height; ^~~~~~ grTOGL3.c:397:18: warning: variable 'width' set but not used [-Wunused-but-set-variable] unsigned int width, height; ^~~~~ grTOGL3.c:396:29: warning: unused variable 'RenderbufferName' [-Wunused-variable] GLuint FramebufferName, RenderbufferName; ^~~~~~~~~~~~~~~~ grTOGL3.c:396:12: warning: unused variable 'FramebufferName' [-Wunused-variable] GLuint FramebufferName, RenderbufferName; ^~~~~~~~~~~~~~~ grTOGL3.c: In function 'grtoglFontText': grTOGL3.c:627:2: warning: implicit declaration of function 'DBFontChar'; did you mean 'TxGetChar'? [-Wimplicit-function-declaration] DBFontChar(font, *tptr, NULL, NULL, &cbbox); ^~~~~~~~~~ TxGetChar grTOGL3.c:608:11: warning: unused variable 'tmp' [-Wunused-variable] float tmp; ^~~ grTOGL3.c:607:9: warning: unused variable 'cheight' [-Wunused-variable] int cheight, baseline; ^~~~~~~ grTOGL3.c:605:20: warning: unused variable 'matvals' [-Wunused-variable] GLfloat fsize, matvals[16]; ^~~~~~~ grTOGL3.c: In function 'grtoglPutText': grTOGL3.c:678:11: warning: unused variable 'tscale' [-Wunused-variable] float tscale; ^~~~~~ grTOGL3.c:677:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ --- compiling graphics/grTOGL4.o rm -f grTOGL4.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grTOGL4.c --- compiling graphics/grTOGL5.o rm -f grTOGL5.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grTOGL5.c grTOGL5.c: In function 'GrTOGLSetCursor': grTOGL5.c:201:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (entry = HashNext(&grTOGLWindowTable,&hs)) ^~~~~ grTOGL5.c: In function 'GrTOGLDrawGlyph': grTOGL5.c:106:5: warning: 'lastp' may be used uninitialized in this function [-Wmaybe-uninitialized] if (lastp != -1) glEnd(); ^ --- compiling graphics/grTCairo1.o rm -f grTCairo1.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grTCairo1.c grTCairo1.c: In function 'GrTCairoInit': grTCairo1.c:301:9: warning: implicit declaration of function 'grTkLoadFont'; did you mean 'XLoadFont'? [-Wimplicit-function-declaration] return grTkLoadFont(); ^~~~~~~~~~~~ XLoadFont grTCairo1.c:258:7: warning: unused variable 'rstatus' [-Wunused-variable] bool rstatus; ^~~~~~~ grTCairo1.c: In function 'GrTCairoClose': grTCairo1.c:319:2: warning: implicit declaration of function 'grTkFreeFonts'; did you mean 'Tk_FreeFont'? [-Wimplicit-function-declaration] grTkFreeFonts(); ^~~~~~~~~~~~~ Tk_FreeFont grTCairo1.c: In function 'TCairoEventProc': grTCairo1.c:473:15: warning: unused variable 'outChannel' [-Wunused-variable] Tcl_Channel outChannel = Tcl_GetStdChannel(TCL_STDOUT); ^~~~~~~~~~ grTCairo1.c:773:3: warning: implicit declaration of function 'WindRedisplay'; did you mean 'XCloseDisplay'? [-Wimplicit-function-declaration] WindRedisplay(mw); ^~~~~~~~~~~~~ XCloseDisplay grTCairo1.c:742:8: warning: unused variable 'result' [-Wunused-variable] bool result, need_resize; ^~~~~~ grTCairo1.c:826:4: warning: implicit declaration of function 'DBWHLRedrawPrepWindow'; did you mean 'XWithdrawWindow'? [-Wimplicit-function-declaration] DBWHLRedrawPrepWindow(mw, &surface); ^~~~~~~~~~~~~~~~~~~~~ XWithdrawWindow grTCairo1.c:414:9: warning: unused variable 'wind' [-Wunused-variable] Window wind; ^~~~ grTCairo1.c:411:16: warning: unused variable 'event' [-Wunused-variable] TxInputEvent *event; ^~~~~ grTCairo1.c: In function 'cairoSetDisplay': grTCairo1.c:896:8: warning: unused variable 'f' [-Wunused-variable] FILE* f; ^ grTCairo1.c:895:8: warning: unused variable 'fullname' [-Wunused-variable] char *fullname; ^~~~~~~~ grTCairo1.c:894:8: warning: unused variable 'planecount' [-Wunused-variable] char *planecount; ^~~~~~~~~~ grTCairo1.c: In function 'GrTCairoCreate': grTCairo1.c:1016:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (windowplace = XGetDefault(grXdpy, "magic", windowname)) ^~~~~~~~~~~ grTCairo1.c:1032:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tktop = Tk_MainWindow(magicinterp)) ^~~~~ grTCairo1.c:1135:32: warning: implicit declaration of function 'grtcairoLoadFont'; did you mean 'grtcairoDrawLine'? [-Wimplicit-function-declaration] return (WindowNumber == 1) ? grtcairoLoadFont() : 1; ^~~~~~~~~~~~~~~~ grtcairoDrawLine grTCairo1.c:1071:8: warning: unused variable 'result' [-Wunused-variable] bool result; ^~~~~~ grTCairo1.c:1010:23: warning: unused variable 'attribmask' [-Wunused-variable] unsigned long attribmask = CWBackPixel | CWBorderPixel | CWColormap; ^~~~~~~~~~ grTCairo1.c: In function 'GrTCairoLock': grTCairo1.c:1297:9: warning: unused variable 'wind' [-Wunused-variable] Window wind; ^~~~ grTCairo1.c: In function 'GrTCairoIconUpdate': grTCairo1.c:1416:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (brack = strchr(text, '[')) ^~~~~ grTCairo1.c:1425:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (brack = strrchr(text, ' ')) text = brack + 1; ^~~~~ grTCairo1.c: In function 'TCairoEventProc': grTCairo1.c:664:14: warning: 'keywstate' may be used uninitialized in this function [-Wmaybe-uninitialized] macroDef = MacroRetrieve(mw->w_client, keywstate, &iMacro); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grTCairo1.c:461:8: warning: 'txbutton' may be used uninitialized in this function [-Wmaybe-uninitialized] if (WindButtonInFrame(mw, ButtonEvent->x, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grXtransY(mw, ButtonEvent->y), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txbutton)) ~~~~~~~~~ --- compiling graphics/grTCairo2.o rm -f grTCairo2.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grTCairo2.c --- compiling graphics/grTCairo3.o rm -f grTCairo3.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grTCairo3.c grTCairo3.c: In function 'GrTCairoTextSize': grTCairo3.c:193:6: warning: unused variable 'width' [-Wunused-variable] int width; ^~~~~ grTCairo3.c: In function 'grtcairoCreateBackingStore': grTCairo3.c:235:5: warning: unused variable 'gc' [-Wunused-variable] GC gc; ^~ grTCairo3.c: In function 'grtcairoDrawCharacter': grTCairo3.c:479:13: warning: unused variable 'maxnp' [-Wunused-variable] static int maxnp = 0; ^~~~~ grTCairo3.c:477:10: warning: unused variable 'nptotal' [-Wunused-variable] int np, nptotal; ^~~~~~~ grTCairo3.c: In function 'grtcairoFontText': grTCairo3.c:547:3: warning: implicit declaration of function 'DBFontChar'; did you mean 'TxGetChar'? [-Wimplicit-function-declaration] DBFontChar(font, *tptr, NULL, NULL, &cbbox); ^~~~~~~~~~ TxGetChar grTCairo3.c:528:8: warning: unused variable 'tmp' [-Wunused-variable] float tmp; ^~~ grTCairo3.c:527:6: warning: unused variable 'cheight' [-Wunused-variable] int cheight, baseline; ^~~~~~~ grTCairo3.c: In function 'grtcairoPutText': grTCairo3.c:598:8: warning: unused variable 'tscale' [-Wunused-variable] float tscale; ^~~~~~ grTCairo3.c:597:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ At top level: grTCairo3.c:479:13: warning: 'maxnp' defined but not used [-Wunused-variable] static int maxnp = 0; ^~~~~ --- compiling graphics/grTCairo4.o rm -f grTCairo4.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grTCairo4.c --- compiling graphics/grTCairo5.o rm -f grTCairo5.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grTCairo5.c grTCairo5.c: In function 'GrTCairoSetCursor': grTCairo5.c:202:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (entry = HashNext(&grTCairoWindowTable, &hs)) ^~~~~ grTCairo5.c: In function 'GrTCairoDrawGlyph': grTCairo5.c:106:6: warning: 'lastp' may be used uninitialized in this function [-Wmaybe-uninitialized] if (lastp != -1) { ^ --- compiling graphics/grTkCommon.o rm -f grTkCommon.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c grTkCommon.c grTkCommon.c: In function 'grTkLoadFont': grTkCommon.c:92:6: warning: implicit declaration of function 'TxError'; did you mean 'perror'? [-Wimplicit-function-declaration] TxError("%s %s\n", unable, fontnames[i]); ^~~~~~~ perror grTkCommon.c: In function 'GrTkWindowName': grTkCommon.c:304:11: warning: unused variable 'tkname' [-Wunused-variable] char *tkname; ^~~~~~ grTkCommon.c: In function 'grtkScrollBackingStore': grTkCommon.c:470:2: warning: implicit declaration of function 'TxPrintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] TxPrintf("grtkScrollBackingStore %d %d failure\n", ^~~~~~~~ dprintf grTkCommon.c: In function 'ImgLayerConfigureInstance': grTkCommon.c:1011:6: warning: implicit declaration of function 'windUnlink'; did you mean 'WindUnder'? [-Wimplicit-function-declaration] windUnlink(mw); ^~~~~~~~~~ WindUnder grTkCommon.c:1012:6: warning: implicit declaration of function 'windReClip' [-Wimplicit-function-declaration] windReClip(); ^~~~~~~~~~ grTkCommon.c:1013:6: warning: implicit declaration of function 'windFree'; did you mean 'TiFree'? [-Wimplicit-function-declaration] windFree(mw); ^~~~~~~~ TiFree grTkCommon.c:1091:6: warning: implicit declaration of function 'WindRedisplay'; did you mean 'XCloseDisplay'? [-Wimplicit-function-declaration] WindRedisplay(mw); ^~~~~~~~~~~~~ XCloseDisplay --- linking libgraphics.o rm -f libgraphics.o ld -r grMain.o grLock.o grDStyle.o grText.o grCMap.o grClip.o grGlyphs.o grNull.o W3Dmain.o grTk1.o grTk2.o grTk3.o grTk4.o grTk5.o grTOGL1.o grTOGL2.o grTOGL3.o grTOGL4.o grTOGL5.o grTCairo1.o grTCairo2.o grTCairo3.o grTCairo4.o grTCairo5.o grTkCommon.o -o libgraphics.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/graphics' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/netmenu' --- compiling netmenu/NMbutton.o rm -f NMbutton.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c NMbutton.c NMbutton.c: In function 'NMButtonNetList': NMbutton.c:82:56: warning: statement with no effect [-Wunused-value] if (TxGetLine(newName, MAXLENGTH) == NULL) newName[0] == 0; ~~~~~~~~~~~^~~~ --- compiling netmenu/NMcmdAK.o rm -f NMcmdAK.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c NMcmdAK.c NMcmdAK.c: In function 'NMCmdCleanup': NMcmdAK.c:182:18: warning: implicit declaration of function 'Lookup' [-Wimplicit-function-declaration] else indx = Lookup(answer, options); ^~~~~~ NMcmdAK.c: In function 'NMCmdCull': NMcmdAK.c:313:5: warning: implicit declaration of function 'NMCull'; did you mean 'NMCmdCull'? [-Wimplicit-function-declaration] NMCull(); ^~~~~~ NMCmdCull NMcmdAK.c: In function 'NMCmdFindLabels': NMcmdAK.c:499:7: warning: implicit declaration of function 'CmdParseLayers' [-Wimplicit-function-declaration] if (!CmdParseLayers(cmd->tx_argv[2], &mask)) ^~~~~~~~~~~~~~ NMcmdAK.c: In function 'NMCmdCleanup': NMcmdAK.c:183:2: warning: 'indx' may be used uninitialized in this function [-Wmaybe-uninitialized] } while (indx < 0); ^ --- compiling netmenu/NMcmdLZ.o rm -f NMcmdLZ.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c NMcmdLZ.c NMcmdLZ.c: In function 'NMCmdMeasure': NMcmdLZ.c:73:2: warning: implicit declaration of function 'NMMeasureNet'; did you mean 'NMMeasureAll'? [-Wimplicit-function-declaration] NMMeasureNet(); ^~~~~~~~~~~~ NMMeasureAll NMcmdLZ.c: In function 'NMCmdPushButton': NMcmdLZ.c:245:14: warning: implicit declaration of function 'Lookup' [-Wimplicit-function-declaration] button = Lookup(cmd->tx_argv[1], NMButton); ^~~~~~ NMcmdLZ.c:266:5: warning: implicit declaration of function 'NMcommand' [-Wimplicit-function-declaration] NMcommand(w, cmd); ^~~~~~~~~ NMcmdLZ.c:237:17: warning: unused variable 'action' [-Wunused-variable] int button, action; ^~~~~~ --- compiling netmenu/NMlabel.o rm -f NMlabel.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c NMlabel.c NMlabel.c: In function 'nmSetCurrentLabel': NMlabel.c:257:9: warning: implicit declaration of function 'NMredisplay' [-Wimplicit-function-declaration] (void) NMredisplay(NMWindow, &NMLabelButton.nmb_area, (Rect *) NULL); ^~~~~~~~~~~ NMlabel.c: In function 'NMShowLabel': NMlabel.c:626:12: warning: implicit declaration of function 'DBSearchLabel'; did you mean 'DBNearestLabel'? [-Wimplicit-function-declaration] (void) DBSearchLabel(&scx, pMask, 0, pattern, ^~~~~~~~~~~~~ DBNearestLabel --- compiling netmenu/NMmain.o rm -f NMmain.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c NMmain.c NMmain.c:61:1: warning: missing braces around initializer [-Wmissing-braces] { ^ NMmain.c:90:1: warning: missing braces around initializer [-Wmissing-braces] { ^ NMmain.c:97:1: warning: missing braces around initializer [-Wmissing-braces] { ^ NMmain.c:109:22: warning: missing braces around initializer [-Wmissing-braces] Rect nmSurfaceArea = {-4, 110, 84, 226}; ^ { } { } NMmain.c:110:21: warning: missing braces around initializer [-Wmissing-braces] Rect nmScreenArea = {0, 0, 140, 190}; ^ { } { } NMmain.c: In function 'NMcommand': NMmain.c:369:9: warning: unused variable 'cmdNum' [-Wunused-variable] int cmdNum; ^~~~~~ --- compiling netmenu/NMnetlist.o rm -f NMnetlist.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c NMnetlist.c NMnetlist.c: In function 'NMNewNetlist': NMnetlist.c:399:16: warning: implicit declaration of function 'NMredisplay' [-Wimplicit-function-declaration] (void) NMredisplay(NMWindow, &NMNetListButton.nmb_area, (Rect *) NULL); ^~~~~~~~~~~ NMnetlist.c: In function 'NMWriteAll': NMnetlist.c:900:9: warning: 'indx' may be used uninitialized in this function [-Wmaybe-uninitialized] switch (indx) ^~~~~~ --- compiling netmenu/NMshowpt.o rm -f NMshowpt.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c NMshowpt.c --- compiling netmenu/NMshowcell.o rm -f NMshowcell.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c NMshowcell.c NMshowcell.c: In function 'NMShowRoutedNet': NMshowcell.c:350:12: warning: implicit declaration of function 'NMEnumTerms' [-Wimplicit-function-declaration] (void) NMEnumTerms(NMCurNetName, nmShowRoutedNetFunc, ^~~~~~~~~~~ --- compiling netmenu/NMundo.o rm -f NMundo.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c NMundo.c --- compiling netmenu/NMwiring.o rm -f NMwiring.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c NMwiring.c NMwiring.c: In function 'NMRipup': NMwiring.c:171:12: warning: implicit declaration of function 'DBSrConnect'; did you mean 'DBIsContact'? [-Wimplicit-function-declaration] (void) DBSrConnect(EditCellUse->cu_def, &area, ^~~~~~~~~~~ DBIsContact NMwiring.c: In function 'nmwNetTileFunc': NMwiring.c:512:9: warning: implicit declaration of function 'DBCellSrArea'; did you mean 'DBCellSrDefs'? [-Wimplicit-function-declaration] (void) DBCellSrArea(&scx, nmwNetCellFunc, (ClientData) NULL); ^~~~~~~~~~~~ DBCellSrDefs NMwiring.c: In function 'NMMeasureNet': NMwiring.c:1208:12: warning: implicit declaration of function 'SelEnumPaint' [-Wimplicit-function-declaration] (void) SelEnumPaint(&nmMeasureMask, TRUE, (bool *) NULL, ^~~~~~~~~~~~ --- linking libnetmenu.o rm -f libnetmenu.o ld -r NMbutton.o NMcmdAK.o NMcmdLZ.o NMlabel.o NMmain.o NMnetlist.o NMshowpt.o NMshowcell.o NMundo.o NMwiring.o -o libnetmenu.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/netmenu' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/plow' --- compiling plow/PlowCmd.o rm -f PlowCmd.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c PlowCmd.c PlowCmd.c: In function 'CmdPlow': PlowCmd.c:110:14: warning: implicit declaration of function 'Lookup' [-Wimplicit-function-declaration] option = Lookup(cmd->tx_argv[1], cmdPlowOption); ^~~~~~ PlowCmd.c:113:2: warning: implicit declaration of function 'TxError'; did you mean 'perror'? [-Wimplicit-function-declaration] TxError("Ambiguous plowing option: \"%s\"\n", cmd->tx_argv[1]); ^~~~~~~ perror PlowCmd.c:151:6: warning: implicit declaration of function 'TxPrintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] TxPrintf("Plow commands have the form \"plow option\",\n"); ^~~~~~~~ dprintf PlowCmd.c:171:6: warning: implicit declaration of function 'PlowSetBound'; did you mean 'PlowTechLine'? [-Wimplicit-function-declaration] PlowSetBound(editDef, &editBox, rootDef, &rootBox); ^~~~~~~~~~~~ PlowTechLine PlowCmd.c:174:46: warning: implicit declaration of function 'cmdParseCoord'; did you mean 'XParseColor'? [-Wimplicit-function-declaration] if (cmd->tx_argc == 3) PlowJogHorizon = cmdParseCoord(w, ^~~~~~~~~~~~~ XParseColor PlowCmd.c:188:6: warning: implicit declaration of function 'PlowClearBound'; did you mean 'TxClearPoint'? [-Wimplicit-function-declaration] PlowClearBound(); ^~~~~~~~~~~~~~ TxClearPoint PlowCmd.c:207:11: warning: implicit declaration of function 'CmdParseLayers' [-Wimplicit-function-declaration] if (!CmdParseLayers(layers, &mask)) ^~~~~~~~~~~~~~ PlowCmd.c:288:11: warning: implicit declaration of function 'PlowSelection'; did you mean 'Tk_OwnSelection'? [-Wimplicit-function-declaration] if (!PlowSelection(editDef, &distance, dir)) ^~~~~~~~~~~~~ Tk_OwnSelection PlowCmd.c: In function 'CmdStraighten': PlowCmd.c:364:5: warning: implicit declaration of function 'PlowStraighten'; did you mean 'CmdStraighten'? [-Wimplicit-function-declaration] PlowStraighten(EditCellUse->cu_def, &editBox, dir); ^~~~~~~~~~~~~~ CmdStraighten PlowCmd.c: In function 'CmdPlow': PlowCmd.c:209:10: warning: 'dir' may be used uninitialized in this function [-Wmaybe-uninitialized] if (Plow(editDef, &editBox, mask, dir)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PlowCmd.c:288:11: warning: 'editDef' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!PlowSelection(editDef, &distance, dir)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling plow/PlowJogs.o rm -f PlowJogs.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c PlowJogs.c PlowJogs.c: In function 'plowCleanupJogs': PlowJogs.c:116:5: warning: implicit declaration of function 'plowQueueInit'; did you mean 'plowQueueAdd'? [-Wimplicit-function-declaration] plowQueueInit(area, area->r_xtop - area->r_xbot); ^~~~~~~~~~~~~ plowQueueAdd PlowJogs.c:139:5: warning: implicit declaration of function 'plowQueueDone'; did you mean 'plowQueueAdd'? [-Wimplicit-function-declaration] plowQueueDone(); ^~~~~~~~~~~~~ plowQueueAdd PlowJogs.c: In function 'plowProcessJog': PlowJogs.c:177:2: warning: implicit declaration of function 'plowDebugEdge' [-Wimplicit-function-declaration] plowDebugEdge(edge, (RuleTableEntry *) NULL, "plowProcessJog"); ^~~~~~~~~~~~~ PlowJogs.c:192:12: warning: implicit declaration of function 'plowSrShadowBack' [-Wimplicit-function-declaration] while (plowSrShadowBack(edge->e_pNum, &r, DBSpaceBits, ^~~~~~~~~~~~~~~~ PlowJogs.c: In function 'plowProcessJogFunc': PlowJogs.c:281:5: warning: implicit declaration of function 'plowSrOutline'; did you mean 'plowSplitY'? [-Wimplicit-function-declaration] plowSrOutline(edge->e_pNum, &startPoint, mask, GEO_NORTH, ^~~~~~~~~~~~~ plowSplitY PlowJogs.c:343:5: warning: implicit declaration of function 'plowApplySearchRules' [-Wimplicit-function-declaration] plowApplySearchRules(&newedge); ^~~~~~~~~~~~~~~~~~~~ PlowJogs.c:356:13: warning: implicit declaration of function 'plowFindWidthBack' [-Wimplicit-function-declaration] width = plowFindWidthBack(&newedge, mask, area, (Rect *) NULL); ^~~~~~~~~~~~~~~~~ --- compiling plow/PlowMain.o rm -f PlowMain.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c PlowMain.c PlowMain.c: In function 'PlowStraighten': PlowMain.c:380:5: warning: implicit declaration of function 'plowCleanupJogs' [-Wimplicit-function-declaration] plowCleanupJogs(&yankArea, &changedArea); ^~~~~~~~~~~~~~~ PlowMain.c: In function 'plowUpdate': PlowMain.c:587:5: warning: implicit declaration of function 'plowUpdateLabels'; did you mean 'plowUpdateCell'? [-Wimplicit-function-declaration] plowUpdateLabels(plowYankDef, def, &changedUserArea); ^~~~~~~~~~~~~~~~ plowUpdateCell PlowMain.c: In function 'plowPropagateRect': PlowMain.c:728:5: warning: implicit declaration of function 'plowQueueInit'; did you mean 'plowQueueAdd'? [-Wimplicit-function-declaration] plowQueueInit(&plowCellBbox, plowRect.r_xtop - plowRect.r_xbot); ^~~~~~~~~~~~~ plowQueueAdd PlowMain.c:738:9: warning: implicit declaration of function 'plowSrShadowInitial' [-Wimplicit-function-declaration] (void) plowSrShadowInitial(pNum, &plowRect, ^~~~~~~~~~~~~~~~~~~ PlowMain.c:767:5: warning: implicit declaration of function 'plowQueueDone'; did you mean 'plowQueueAdd'? [-Wimplicit-function-declaration] plowQueueDone(); ^~~~~~~~~~~~~ plowQueueAdd PlowMain.c: In function 'plowSelPaintPlow': PlowMain.c:1045:5: warning: implicit declaration of function 'plowSrShadow' [-Wimplicit-function-declaration] plowSrShadow(DBPlane(type), &plowLHS, DBZeroTypeBits, ^~~~~~~~~~~~ PlowMain.c: In function 'PlowExtendJogHorizon': PlowMain.c:1214:6: warning: implicit declaration of function 'plowYankMore'; did you mean 'plowYankCreate'? [-Wimplicit-function-declaration] if (plowYankMore(&r, 1, 1)) ^~~~~~~~~~~~ plowYankCreate PlowMain.c:1286:9: warning: implicit declaration of function 'plowAtomize' [-Wimplicit-function-declaration] (void) plowAtomize(edge->e_pNum, &r, plowQueueAdd, (ClientData) NULL); ^~~~~~~~~~~ PlowMain.c: In function 'plowProcessEdge': PlowMain.c:1536:2: warning: implicit declaration of function 'plowDebugEdge'; did you mean 'plowMoveEdge'? [-Wimplicit-function-declaration] plowDebugEdge(edge, (RuleTableEntry *) NULL, "matched edge"); ^~~~~~~~~~~~~ plowMoveEdge PlowMain.c:1626:5: warning: implicit declaration of function 'plowApplySearchRules'; did you mean 'plowBuildWidthRules'? [-Wimplicit-function-declaration] plowApplySearchRules(edge); ^~~~~~~~~~~~~~~~~~~~ plowBuildWidthRules PlowMain.c: In function 'plowBuildWidthRules': PlowMain.c:1770:9: warning: implicit declaration of function 'plowFindWidth'; did you mean 'plowFindSelCell'? [-Wimplicit-function-declaration] dist = plowFindWidth(edge, prMin->pr_oktypes, bbox, &maxBox); ^~~~~~~~~~~~~ plowFindSelCell PlowMain.c: In function 'plowSplitY': PlowMain.c:1947:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] plowSplitY(tp, y) ^~~~~~~~~~ PlowMain.c: In function 'PlowInit': PlowMain.c:2195:5: warning: implicit declaration of function 'plowDebugInit'; did you mean 'PlowTechInit'? [-Wimplicit-function-declaration] plowDebugInit(); ^~~~~~~~~~~~~ PlowTechInit PlowMain.c: In function 'plowYankCreate': PlowMain.c:2245:2: warning: implicit declaration of function 'DBNewYank'; did you mean 'DBNewPlane'? [-Wimplicit-function-declaration] DBNewYank("__PLOWYANK__", &plowYankUse, &plowYankDef); ^~~~~~~~~ DBNewPlane PlowMain.c: In function 'plowApplySearchRules': PlowMain.c:1708:7: warning: 'rules' may be used uninitialized in this function [-Wmaybe-uninitialized] (*rte->rte_proc)(edge, rules); ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling plow/PlowQueue.o rm -f PlowQueue.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c PlowQueue.c PlowQueue.c: In function 'plowQueueAdd': PlowQueue.c:188:2: warning: implicit declaration of function 'plowDebugEdge' [-Wimplicit-function-declaration] plowDebugEdge(eadd, plowCurrentRule, "add"); ^~~~~~~~~~~~~ PlowQueue.c:161:21: warning: unused variable 'plowYankDef' [-Wunused-variable] extern CellDef *plowYankDef; ^~~~~~~~~~~ --- compiling plow/PlowRandom.o rm -f PlowRandom.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c PlowRandom.c PlowRandom.c: In function 'PlowRandomTest': PlowRandom.c:112:8: warning: implicit declaration of function 'plowGenRandom'; did you mean 'plowGenRect'? [-Wimplicit-function-declaration] dir = plowGenRandom(0, 3); ^~~~~~~~~~~~~ plowGenRect PlowRandom.c:115:9: warning: implicit declaration of function 'Plow' [-Wimplicit-function-declaration] (void) Plow(def, &plowRect, DBAllTypeBits, plowDir); ^~~~ PlowRandom.c:122:2: warning: implicit declaration of function 'DRCCatchUp' [-Wimplicit-function-declaration] DRCCatchUp(); ^~~~~~~~~~ In file included from PlowRandom.c:36:0: PlowRandom.c: In function 'plowFileDiff': ../utils/magic.h:146:26: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] # define bcmp(a, b, c) memcmp(b, a, c) ^ PlowRandom.c:300:18: note: in expansion of macro 'bcmp' if (n1 != n2 || bcmp(b1, b2, n1) != 0) ^~~~ PlowRandom.c:307:5: warning: 'f2' may be used uninitialized in this function [-Wmaybe-uninitialized] (void) close(f2); ^~~~~~~~~~~~~~~~ --- compiling plow/PlowRules1.o rm -f PlowRules1.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c PlowRules1.c PlowRules1.c: In function 'prClearUmbra': PlowRules1.c:89:12: warning: implicit declaration of function 'plowSrShadow' [-Wimplicit-function-declaration] (void) plowSrShadow(edge->e_pNum, &edge->e_rect, ^~~~~~~~~~~~ PlowRules1.c: In function 'prPenumbraTop': PlowRules1.c:234:2: warning: implicit declaration of function 'plowSrOutline'; did you mean 'plowSplitY'? [-Wimplicit-function-declaration] plowSrOutline(edge->e_pNum, &startPoint, pr->pr_ltypes, GEO_NORTH, ^~~~~~~~~~~~~ plowSplitY PlowRules1.c: In function 'plowPenumbraRule': PlowRules1.c:439:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pr = ar->ar_rule) ^~ PlowRules1.c: In function 'plowSliverTopExtent': PlowRules1.c:816:18: warning: 'xmove' may be used uninitialized in this function [-Wmaybe-uninitialized] ar->ar_mustmove = xmove; ~~~~~~~~~~~~~~~~^~~~~~~ PlowRules1.c: In function 'plowSliverBotExtent': PlowRules1.c:922:18: warning: 'xmove' may be used uninitialized in this function [-Wmaybe-uninitialized] ar->ar_mustmove = xmove; ~~~~~~~~~~~~~~~~^~~~~~~ --- compiling plow/PlowRules2.o rm -f PlowRules2.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c PlowRules2.c PlowRules2.c: In function 'prFixedLHS': PlowRules2.c:91:6: warning: implicit declaration of function 'plowYankMore' [-Wimplicit-function-declaration] if (plowYankMore(&atomRect, 1, 1)) ^~~~~~~~~~~~ PlowRules2.c:96:13: warning: implicit declaration of function 'plowAtomize' [-Wimplicit-function-declaration] (void) plowAtomize(edge->e_pNum, &atomRect, ^~~~~~~~~~~ PlowRules2.c: In function 'prFixedPenumbraTop': PlowRules2.c:234:9: warning: implicit declaration of function 'plowSrShadow' [-Wimplicit-function-declaration] (void) plowSrShadow(pr->pr_pNum, &searchRect, pr->pr_oktypes, ^~~~~~~~~~~~ PlowRules2.c: In function 'prIllegalTop': PlowRules2.c:578:5: warning: implicit declaration of function 'plowSrOutline'; did you mean 'plowSplitY'? [-Wimplicit-function-declaration] plowSrOutline(edge->e_pNum, &startPoint, insideTypes, GEO_NORTH, ^~~~~~~~~~~~~ plowSplitY --- compiling plow/PlowRules3.o rm -f PlowRules3.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c PlowRules3.c PlowRules3.c: In function 'prInSliver': PlowRules3.c:99:5: warning: implicit declaration of function 'plowSrFinalArea' [-Wimplicit-function-declaration] plowSrFinalArea(plane, &edgeBorder, &DBAllTypeBits, plowInSliverProc, ^~~~~~~~~~~~~~~ PlowRules3.c: In function 'scanDownError': PlowRules3.c:289:12: warning: implicit declaration of function 'plowAtomize' [-Wimplicit-function-declaration] (void) plowAtomize(inarg->ina_rule->pr_pNum, &atomRect, ^~~~~~~~~~~ --- compiling plow/PlowSearch.o rm -f PlowSearch.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c PlowSearch.c PlowSearch.c: In function 'plowSrShadow': PlowSearch.c:249:11: warning: implicit declaration of function 'plowShadowRHS'; did you mean 'plowSrShadow'? [-Wimplicit-function-declaration] else if (plowShadowRHS(tp, &s, bottom)) ^~~~~~~~~~~~~ plowSrShadow PlowSearch.c: In function 'plowSrShadowInitial': PlowSearch.c:402:11: warning: implicit declaration of function 'plowShadowInitialRHS'; did you mean 'plowSrShadowInitial'? [-Wimplicit-function-declaration] else if (plowShadowInitialRHS(tp, &s, bottom)) ^~~~~~~~~~~~~~~~~~~~ plowSrShadowInitial PlowSearch.c: In function 'plowSrShadowBack': PlowSearch.c:558:11: warning: implicit declaration of function 'plowShadowLHS'; did you mean 'plowShadowRHS'? [-Wimplicit-function-declaration] else if (plowShadowLHS(tp, &s, top)) ^~~~~~~~~~~~~ plowShadowRHS PlowSearch.c: In function 'plowSrOutlineInit': PlowSearch.c:1025:6: warning: implicit declaration of function 'niceabort' [-Wimplicit-function-declaration] niceabort(); ^~~~~~~~~ --- compiling plow/PlowTech.o rm -f PlowTech.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c PlowTech.c PlowTech.c: In function 'PlowTechLine': PlowTech.c:229:2: warning: implicit declaration of function 'TechError'; did you mean 'perror'? [-Wimplicit-function-declaration] TechError("Malformed line\n"); ^~~~~~~~~ perror PlowTech.c: In function 'plowTechShowTable': PlowTech.c:355:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pr = table[i][j]) ^~ --- compiling plow/PlowTest.o rm -f PlowTest.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c PlowTest.c PlowTest.c:107:16: warning: missing braces around initializer [-Wmissing-braces] } plowCmds[] = { ^ "clrdebug", PC_CLRD, "flags", { } "help", PC_HELP, "", { } "jogreduce", PC_JOG, "", { } "lwidth", PC_LWIDTH, "layers", { } "lshadow", PC_LSHADOW, "layers", { } "mergedown", PC_MERGEDOWN, "", { } "mergeup", PC_MERGEUP, "", { } "move", PC_MOVE, "", { } "outline", PC_OUTLINE, "direction layers", { } "plow", PC_PLOW, "direction [layers]", { } "print", PC_PRINT, "", { } "random", PC_RANDOM, "", { } "setdebug", PC_SETD, "flags", { } "shadow", PC_SHADOW, "layers", { } "showdebug", PC_SHOWD, "", { } "split", PC_SPLIT, "", { } "techshow", PC_TECHSHOW, "[file]", { } "trail", PC_TRAIL, "[value]", { } "whenbot", PC_WHENBOT, "[xbot ybot]", { } "whentop", PC_WHENTOP, "[xtop ytop]", { } "width", PC_WIDTH, "layers", { } 0, { }; } PlowTest.c: In function 'PlowTest': PlowTest.c:166:6: warning: implicit declaration of function 'PlowRandomTest'; did you mean 'PlowTest'? [-Wimplicit-function-declaration] PlowRandomTest(def); ^~~~~~~~~~~~~~ PlowTest PlowTest.c:194:13: warning: implicit declaration of function 'plowSrOutline'; did you mean 'plowShowOutline'? [-Wimplicit-function-declaration] (void) plowSrOutline(PL_TECHDEPBASE, &editArea.r_ll, okTypes, dir, ^~~~~~~~~~~~~ plowShowOutline PlowTest.c:208:11: warning: implicit declaration of function 'Plow' [-Wimplicit-function-declaration] if (!Plow(def, &editArea, okTypes, dir)) ^~~~ PlowTest.c:226:13: warning: implicit declaration of function 'plowSrShadowBack'; did you mean 'plowShowShadow'? [-Wimplicit-function-declaration] (void) plowSrShadowBack(PL_TECHDEPBASE, &editArea, ^~~~~~~~~~~~~~~~ plowShowShadow PlowTest.c:240:13: warning: implicit declaration of function 'plowSrShadow'; did you mean 'plowShowShadow'? [-Wimplicit-function-declaration] (void) plowSrShadow(PL_TECHDEPBASE, &editArea, ^~~~~~~~~~~~ plowShowShadow PlowTest.c:255:6: warning: implicit declaration of function 'plowTechShow'; did you mean 'plowTestJog'? [-Wimplicit-function-declaration] plowTechShow(f); ^~~~~~~~~~~~ plowTestJog PlowTest.c:274:13: warning: implicit declaration of function 'plowFindWidth' [-Wimplicit-function-declaration] (void) plowFindWidth(&edge, okTypes, &def->cd_bbox, &editArea); ^~~~~~~~~~~~~ PlowTest.c:295:13: warning: implicit declaration of function 'plowFindWidthBack' [-Wimplicit-function-declaration] (void) plowFindWidthBack(&edge, okTypes, &def->cd_bbox, &editArea); ^~~~~~~~~~~~~~~~~ PlowTest.c:319:6: warning: implicit declaration of function 'plowMoveEdge' [-Wimplicit-function-declaration] plowMoveEdge(&edge); ^~~~~~~~~~~~ PlowTest.c:341:6: warning: implicit declaration of function 'plowMergeBottom' [-Wimplicit-function-declaration] plowMergeBottom(tp, plane); ^~~~~~~~~~~~~~~ PlowTest.c:350:6: warning: implicit declaration of function 'plowMergeTop'; did you mean 'plowTestJog'? [-Wimplicit-function-declaration] plowMergeTop(tp, plane); ^~~~~~~~~~~~ plowTestJog PlowTest.c:157:5: warning: enumeration value 'PC_ERROR' not handled in switch [-Wswitch] switch (plowCmd) ^~~~~~ PlowTest.c: In function 'plowDebugInit': PlowTest.c:459:17: warning: missing braces around initializer [-Wmissing-braces] } debug[] = { ^ "addedge", &plowDebAdd, { } "jogs", &plowDebJogs, { } "moveedge", &plowDebMove, { } "nextedge", &plowDebNext, { } "time", &plowDebTime, { } "width", &plowDebWidth, { } "yankall", &plowDebYankAll, { } 0 { }; } PlowTest.c: In function 'plowTestJog': PlowTest.c:545:5: warning: implicit declaration of function 'plowYankCreate'; did you mean 'WindCreate'? [-Wimplicit-function-declaration] plowYankCreate(); ^~~~~~~~~~~~~~ WindCreate PlowTest.c:565:5: warning: implicit declaration of function 'plowCleanupJogs'; did you mean 'plowTestJog'? [-Wimplicit-function-declaration] plowCleanupJogs(area, &changedArea); ^~~~~~~~~~~~~~~ plowTestJog --- compiling plow/PlowWidth.o rm -f PlowWidth.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c PlowWidth.c --- compiling plow/PlowYank.o rm -f PlowYank.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c PlowYank.c --- linking libplow.o rm -f libplow.o ld -r PlowCmd.o PlowJogs.o PlowMain.o PlowQueue.o PlowRandom.o PlowRules1.o PlowRules2.o PlowRules3.o PlowSearch.o PlowTech.o PlowTest.o PlowWidth.o PlowYank.o -o libplow.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/plow' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/resis' --- compiling resis/ResMain.o rm -f ResMain.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ResMain.c ResMain.c: In function 'ResAddBreakpointFunc': ResMain.c:285:15: warning: unused variable 'junk' [-Wunused-variable] tileJunk *junk; ^~~~ ResMain.c: In function 'ResProcessTiles': ResMain.c:531:4: warning: implicit declaration of function 'ResRemoveFromQueue'; did you mean 'ResRemovePlumbing'? [-Wimplicit-function-declaration] ResRemoveFromQueue(resptr2,&ResNodeQueue); ^~~~~~~~~~~~~~~~~~ ResRemovePlumbing ResMain.c:545:9: warning: implicit declaration of function 'ResCleanNode'; did you mean 'ResFixTranName'? [-Wimplicit-function-declaration] ResCleanNode(resptr2, FALSE, &ResNodeList, &ResNodeQueue); ^~~~~~~~~~~~ ResFixTranName ResMain.c:546:4: warning: implicit declaration of function 'ResDoneWithNode' [-Wimplicit-function-declaration] ResDoneWithNode(resptr2); ^~~~~~~~~~~~~~~ ResMain.c:383:16: warning: unused variable 'resptr' [-Wunused-variable] resNode *resptr; ^~~~~~ ResMain.c:382:19: warning: unused variable 'fix' [-Wunused-variable] ResFixPoint *fix; ^~~ ResMain.c: In function 'ResExtractNet': ResMain.c:669:5: warning: implicit declaration of function 'ExtResetTiles'; did you mean 'ExtSetStyle'? [-Wimplicit-function-declaration] ExtResetTiles(scx.scx_use->cu_def, extUnInit); ^~~~~~~~~~~~~ ExtSetStyle ResMain.c:693:3: warning: implicit declaration of function 'ResFracture'; did you mean 'ResExtractNet'? [-Wimplicit-function-declaration] ResFracture(plane,rect); ^~~~~~~~~~~ ResExtractNet ResMain.c:694:10: warning: implicit declaration of function 'DBSrPaintClient'; did you mean 'DBSrPaintArea'? [-Wimplicit-function-declaration] (void) DBSrPaintClient((Tile *) NULL,plane,rect, ^~~~~~~~~~~~~~~ DBSrPaintArea ResMain.c:705:5: warning: implicit declaration of function 'ResPreProcessTransistors'; did you mean 'ResGetTransistor'? [-Wimplicit-function-declaration] ResPreProcessTransistors(TranTiles, ResTransList, ResUse->cu_def); ^~~~~~~~~~~~~~~~~~~~~~~~ ResGetTransistor --- compiling resis/ResJunct.o rm -f ResJunct.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ResJunct.c ResJunct.c: In function 'ResNewSDTransistor': ResJunct.c:95:7: warning: implicit declaration of function 'ResAddToQueue' [-Wimplicit-function-declaration] ResAddToQueue(resptr,PendingList); ^~~~~~~~~~~~~ --- compiling resis/ResMakeRes.o rm -f ResMakeRes.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ResMakeRes.c ResMakeRes.c: In function 'ResCalcEastWest': ResMakeRes.c:181:8: warning: implicit declaration of function 'ResMergeNodes'; did you mean 'ResCheckSimNodes'? [-Wimplicit-function-declaration] ResMergeNodes(p2->br_this,p1->br_this,pendingList,doneList); ^~~~~~~~~~~~~ ResCheckSimNodes ResMakeRes.c: In function 'ResCalcNearTransistor': ResMakeRes.c:670:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((tranedge & TOPEDGE) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (tranedge & BOTTOMEDGE) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~ !(tranedge & LEFTEDGE) && ~~~~~~~~~~~~~~~~~~~~~~~~~^~ !(tranedge & RIGHTEDGE) || ~~~~~~~~~~~~~~~~~~~~~~~ ResMakeRes.c: In function 'ResDoContacts': ResMakeRes.c:792:15: warning: implicit declaration of function 'CIFGetContactSize' [-Wimplicit-function-declaration] minside = CIFGetContactSize(contact->cp_type, &viawidth, &spacing, &border); ^~~~~~~~~~~~~~~~~ ResMakeRes.c:801:2: warning: implicit declaration of function 'ResAddToQueue' [-Wimplicit-function-declaration] ResAddToQueue(resptr,nodes); ^~~~~~~~~~~~~ ResMakeRes.c: In function 'ResSortBreaks': ResMakeRes.c:939:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (xsort == TRUE && p2->br_loc.p_x > p3->br_loc.p_x || ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling resis/ResSimple.o rm -f ResSimple.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ResSimple.c ResSimple.c: In function 'ResSimplifyNet': ResSimple.c:193:10: warning: implicit declaration of function 'ResRemoveFromQueue'; did you mean 'ResRemovePlumbing'? [-Wimplicit-function-declaration] ResRemoveFromQueue(otherNode,biglist); ^~~~~~~~~~~~~~~~~~ ResRemovePlumbing ResSimple.c:209:64: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if (UnMarkedReceivers == 0 && (MarkedReceivers == 1 && NumberOfDrivers > 1 || resistor2 != resistor1)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ResSimple.c:214:12: warning: implicit declaration of function 'ResDeleteResPointer' [-Wimplicit-function-declaration] ResDeleteResPointer(resistor1->rr_connection1,resistor1); ^~~~~~~~~~~~~~~~~~~ ResSimple.c:216:12: warning: implicit declaration of function 'ResEliminateResistor'; did you mean 'ResSimResistor'? [-Wimplicit-function-declaration] ResEliminateResistor(resistor1,reslist); ^~~~~~~~~~~~~~~~~~~~ ResSimResistor ResSimple.c:217:12: warning: implicit declaration of function 'ResMergeNodes' [-Wimplicit-function-declaration] ResMergeNodes(otherNode,node,nodelist,biglist); ^~~~~~~~~~~~~ ResSimple.c:230:12: warning: implicit declaration of function 'ResDoneWithNode'; did you mean 'resPathNode'? [-Wimplicit-function-declaration] ResDoneWithNode(otherNode); ^~~~~~~~~~~~~~~ resPathNode ResSimple.c:302:4: warning: implicit declaration of function 'ResCleanNode'; did you mean 'resPathNode'? [-Wimplicit-function-declaration] ResCleanNode(node,TRUE,biglist,nodelist); ^~~~~~~~~~~~ resPathNode ResSimple.c: In function 'ResScrunchNet': ResSimple.c:589:4: warning: implicit declaration of function 'ResAddToQueue' [-Wimplicit-function-declaration] ResAddToQueue(node1,pendingList); ^~~~~~~~~~~~~ ResSimple.c:564:10: warning: 'node1' may be used uninitialized in this function [-Wmaybe-uninitialized] node2 = (current->rr_connection1 == node1) ? current->rr_connection2 : current->rr_connection1; --- compiling resis/ResPrint.o rm -f ResPrint.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ResPrint.c ResPrint.c: In function 'ResPrintFHNodes': ResPrint.c:403:6: warning: implicit declaration of function 'CIFGetContactSize'; did you mean 'CIFGetDefaultContactSize'? [-Wimplicit-function-declaration] CIFGetContactSize(contact_res->rr_tt, &edge, &spacing, NULL); ^~~~~~~~~~~~~~~~~ CIFGetDefaultContactSize ResPrint.c:330:11: warning: unused variable 'newname' [-Wunused-variable] char newname[16]; ^~~~~~~ ResPrint.c: In function 'ResCreateCenterlines': ResPrint.c:713:6: warning: implicit declaration of function 'GeoCanonicalRect'; did you mean 'GeoTransRect'? [-Wimplicit-function-declaration] GeoCanonicalRect(&r, &rcanon); ^~~~~~~~~~~~~~~~ GeoTransRect ResPrint.c: In function 'ResPrintFHNodes': ResPrint.c:385:9: warning: 'height' may be used uninitialized in this function [-Wmaybe-uninitialized] height *= oscale; ~~~~~~~^~~~~~~~~ --- compiling resis/ResReadSim.o rm -f ResReadSim.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ResReadSim.c ResReadSim.c: In function 'ResReadSim': ResReadSim.c:141:13: warning: implicit declaration of function 'gettokens'; did you mean 'getlogin'? [-Wimplicit-function-declaration] while (gettokens(line,fp) != 0) ^~~~~~~~~ getlogin ResReadSim.c: In function 'ResReadNode': ResReadSim.c:248:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (cp = strchr(line[NODETYPE], ';')) *cp = '\0'; ^~ ResReadSim.c: In function 'ResSimTransistor': ResReadSim.c:397:15: warning: implicit declaration of function 'ResSimNewNode'; did you mean 'ResSimMerge'? [-Wimplicit-function-declaration] rvalue = ResSimNewNode(line[GATE],GATE,transistor) + ^~~~~~~~~~~~~ ResSimMerge ResReadSim.c: In function 'ResSimAttribute': ResReadSim.c:664:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (avalue = strchr(avalue,',')) ^~~~~~ --- compiling resis/ResConDCS.o rm -f ResConDCS.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ResConDCS.c ResConDCS.c: In function 'dbcConnectFuncDCS': ResConDCS.c:248:9: warning: implicit declaration of function 'DBSrPaintNMArea'; did you mean 'DBSrPaintArea'? [-Wimplicit-function-declaration] if (DBSrPaintNMArea((Tile *) NULL, def->cd_planes[pNum], ^~~~~~~~~~~~~~~ DBSrPaintArea ResConDCS.c:297:6: warning: unused variable 'i' [-Wunused-variable] int i, lastsize = csa2->csa2_size; ^ ResConDCS.c:99:32: warning: unused variable 'ctype' [-Wunused-variable] TileType t2, t1, loctype, ctype; ^~~~~ ResConDCS.c: In function 'DBTreeCopyConnectDCS': ResConDCS.c:467:6: warning: implicit declaration of function 'DBTreeSrNMTiles'; did you mean 'DBTreeSrTiles'? [-Wimplicit-function-declaration] DBTreeSrNMTiles(scx, newtype, newmask, xMask, dbcConnectFuncDCS, ^~~~~~~~~~~~~~~ DBTreeSrTiles --- compiling resis/ResRex.o rm -f ResRex.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ResRex.c ResRex.c: In function 'ExtResisForDef': ResRex.c:110:14: warning: implicit declaration of function 'ResReadSim' [-Wimplicit-function-declaration] result = ResReadSim(celldef->cd_name, ^~~~~~~~~~ ResRex.c:116:11: warning: implicit declaration of function 'ResReadNode' [-Wimplicit-function-declaration] result = ResReadNode(celldef->cd_name); ^~~~~~~~~~~ ResRex.c:128:4: warning: implicit declaration of function 'DBIsSubcircuit' [-Wimplicit-function-declaration] DBIsSubcircuit(celldef)) ^~~~~~~~~~~~~~ ResRex.c:132:6: warning: implicit declaration of function 'ResPrintStats'; did you mean 'ExtPrintStyle'? [-Wimplicit-function-declaration] ResPrintStats((ResGlobalParams *)NULL,""); ^~~~~~~~~~~~~ ExtPrintStyle ResRex.c: In function 'CmdExtResis': ResRex.c:462:7: warning: implicit declaration of function 'ResExtractNet' [-Wimplicit-function-declaration] if (ResExtractNet(&fp, &gparams, NULL) != 0) return; ^~~~~~~~~~~~~ ResRex.c:463:3: warning: implicit declaration of function 'ResPrintResistorList'; did you mean 'ResSimResistor'? [-Wimplicit-function-declaration] ResPrintResistorList(stdout,ResResList); ^~~~~~~~~~~~~~~~~~~~ ResSimResistor ResRex.c:464:3: warning: implicit declaration of function 'ResPrintTransistorList'; did you mean 'ResGetTransistor'? [-Wimplicit-function-declaration] ResPrintTransistorList(stdout,ResTransList); ^~~~~~~~~~~~~~~~~~~~~~ ResGetTransistor ResRex.c:235:3: warning: typedef 'ResOptions' locally defined but not used [-Wunused-local-typedefs] } ResOptions; ^~~~~~~~~~ ResRex.c: In function 'ResCheckSimNodes': ResRex.c:860:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (ResExtFile == NULL && (ResOptionsFlags & ResOpt_DoExtFile) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ResRex.c:862:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || (ResOptionsFlags & ResOpt_FastHenry) && ResFHFile == NULL) ^ ResRex.c:874:2: warning: implicit declaration of function 'ResPrintReference' [-Wimplicit-function-declaration] ResPrintReference(ResFHFile, ResTranList, celldef); ^~~~~~~~~~~~~~~~~ ResRex.c:1029:3: warning: implicit declaration of function 'ResDoSimplify'; did you mean 'ResOpt_Simplify'? [-Wimplicit-function-declaration] ResDoSimplify(ftolerance,rctol,&gparams); ^~~~~~~~~~~~~ ResOpt_Simplify ResRex.c:1039:18: warning: implicit declaration of function 'ResWriteExtFile'; did you mean 'ResWriteLumpFile'? [-Wimplicit-function-declaration] failed3 += ResWriteExtFile(celldef, node, tol, rctol, ^~~~~~~~~~~~~~~ ResWriteLumpFile ResRex.c:1046:6: warning: implicit declaration of function 'ResCleanUpEverything' [-Wimplicit-function-declaration] ResCleanUpEverything(); ^~~~~~~~~~~~~~~~~~~~ ResRex.c:1057:2: warning: implicit declaration of function 'ResPrintExtTran' [-Wimplicit-function-declaration] ResPrintExtTran(ResExtFile,ResTranList); ^~~~~~~~~~~~~~~ ResRex.c: In function 'ResFixUpConnections': ResRex.c:1215:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (source=layoutTran->rt_source) ^~~~~~ ResRex.c:1217:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (drain=layoutTran->rt_drain) ^~~~~ ResRex.c:1223:7: warning: implicit declaration of function 'ResMergeNodes'; did you mean 'ResCheckSimNodes'? [-Wimplicit-function-declaration] ResMergeNodes(drain, source, &ResNodeQueue, ^~~~~~~~~~~~~ ResCheckSimNodes ResRex.c:1225:9: warning: implicit declaration of function 'ResDoneWithNode' [-Wimplicit-function-declaration] ResDoneWithNode(drain); ^~~~~~~~~~~~~~~ ResRex.c:1261:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (source=layoutTran->rt_source) ^~~~~~ ResRex.c:1263:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (drain=layoutTran->rt_drain) ^~~~~ ResRex.c: In function 'ResSortByGate': ResRex.c:1440:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (working->terminal == SOURCE && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ current->terminal == SOURCE && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ w->drain > c->drain || ~~~~~~~~~~~~~~~~~~~ ResRex.c:1446:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] working->terminal == DRAIN && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ current->terminal == SOURCE && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ w->source > c->drain || ~~~~~~~~~~~~~~~~~~~~ ResRex.c:1449:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] working->terminal == DRAIN && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ current->terminal == DRAIN && ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ w->source > c->source)) ~~~~~~~~~~~~~~~~~~~~~~ ResRex.c: In function 'ResWriteExtFile': ResRex.c:1638:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (layoutFet = ResGetTransistor(&ptr->thisTran->location)) ^~~~~~~~~ ResRex.c:1645:6: warning: implicit declaration of function 'ResPrintExtNode'; did you mean 'ResWriteExtFile'? [-Wimplicit-function-declaration] ResPrintExtNode(ResExtFile,ResNodeList,node->name); ^~~~~~~~~~~~~~~ ResWriteExtFile ResRex.c:1646:12: warning: implicit declaration of function 'ResPrintExtRes'; did you mean 'ResWriteExtFile'? [-Wimplicit-function-declaration] ResPrintExtRes(ResExtFile,ResResList,newname); ^~~~~~~~~~~~~~ ResWriteExtFile ResRex.c:1652:6: warning: implicit declaration of function 'ResPrintFHNodes'; did you mean 'ResAlignNodes'? [-Wimplicit-function-declaration] ResPrintFHNodes(ResFHFile, ResNodeList, node->name, nidx, celldef); ^~~~~~~~~~~~~~~ ResAlignNodes ResRex.c:1653:6: warning: implicit declaration of function 'ResPrintFHRects' [-Wimplicit-function-declaration] ResPrintFHRects(ResFHFile, ResResList, newname, eidx); ^~~~~~~~~~~~~~~ ResRex.c:1659:10: warning: implicit declaration of function 'ResCreateCenterlines'; did you mean 'Tk_CreateOutline'? [-Wimplicit-function-declaration] if (ResCreateCenterlines(ResResList, nidx, celldef) < 0) ^~~~~~~~~~~~~~~~~~~~ Tk_CreateOutline ResRex.c: In function 'CmdExtResis': ResRex.c:551:18: warning: 'saveFlags' may be used uninitialized in this function [-Wmaybe-uninitialized] ResOptionsFlags = saveFlags; ~~~~~~~~~~~~~~~~^~~~~~~~~~~ --- compiling resis/ResBasic.o rm -f ResBasic.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ResBasic.c ResBasic.c: In function 'resAllPortNodes': ResBasic.c:106:2: warning: implicit declaration of function 'ResAddToQueue' [-Wimplicit-function-declaration] ResAddToQueue(resptr, list); ^~~~~~~~~~~~~ ResBasic.c: In function 'ResEachTile': ResBasic.c:236:6: warning: implicit declaration of function 'ResDoContacts'; did you mean 'DBIsContact'? [-Wimplicit-function-declaration] ResDoContacts(cp, &ResNodeQueue, &ResResList); ^~~~~~~~~~~~~ DBIsContact ResBasic.c:259:6: warning: implicit declaration of function 'ResNewSDTransistor'; did you mean 'ResGetTransistor'? [-Wimplicit-function-declaration] ResNewSDTransistor(tile, tp, xj, yj, RIGHTEDGE, &ResNodeQueue); ^~~~~~~~~~~~~~~~~~ ResGetTransistor ResBasic.c:267:13: warning: implicit declaration of function 'ResProcessJunction' [-Wimplicit-function-declaration] (void) ResProcessJunction(tile, tp, xj, yj, &ResNodeQueue); ^~~~~~~~~~~~~~~~~~ ResBasic.c:338:14: warning: implicit declaration of function 'ResCalcTileResistance' [-Wimplicit-function-declaration] merged = ResCalcTileResistance(tile, tstructs, &ResNodeQueue, ^~~~~~~~~~~~~~~~~~~~~ ResBasic.c:138:18: warning: unused variable 'i' [-Wunused-variable] int xj, yj, i; ^ --- compiling resis/ResMerge.o rm -f ResMerge.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ResMerge.c ResMerge.c: In function 'ResDoneWithNode': ResMerge.c:116:18: warning: implicit declaration of function 'ResSeriesCheck'; did you mean 'ResMergeNodes'? [-Wimplicit-function-declaration] status = ResSeriesCheck(resptr); ^~~~~~~~~~~~~~ ResMergeNodes ResMerge.c:120:13: warning: implicit declaration of function 'ResParallelCheck' [-Wimplicit-function-declaration] status = ResParallelCheck(resptr); ^~~~~~~~~~~~~~~~ ResMerge.c:124:13: warning: implicit declaration of function 'ResTriangleCheck' [-Wimplicit-function-declaration] status = ResTriangleCheck(resptr); ^~~~~~~~~~~~~~~~ ResMerge.c: In function 'ResMergeNodes': ResMerge.c:670:6: warning: implicit declaration of function 'ResRemoveFromQueue'; did you mean 'ResRemovePlumbing'? [-Wimplicit-function-declaration] ResRemoveFromQueue(node1,pendingList); ^~~~~~~~~~~~~~~~~~ ResRemovePlumbing ResMerge.c:671:3: warning: implicit declaration of function 'ResAddToQueue' [-Wimplicit-function-declaration] ResAddToQueue(node1,pendingList); ^~~~~~~~~~~~~ --- compiling resis/ResChecks.o rm -f ResChecks.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ResChecks.c --- compiling resis/ResFract.o rm -f ResFract.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ResFract.c ResFract.c: In function 'ResCheckConcavity': ResFract.c:176:18: warning: implicit declaration of function 'resWalkleft' [-Wimplicit-function-declaration] xlen = xpos - resWalkleft(top,tt,xpos,ypos,NULL); ^~~~~~~~~~~ ResFract.c:177:11: warning: implicit declaration of function 'resWalkup' [-Wimplicit-function-declaration] ylen = resWalkup(top,tt,xpos,ypos,NULL) - ypos; ^~~~~~~~~ ResFract.c:197:16: warning: implicit declaration of function 'resWalkdown' [-Wimplicit-function-declaration] ylen = ypos-resWalkdown(bot,tt,xpos,ypos,NULL); ^~~~~~~~~~~ ResFract.c:217:11: warning: implicit declaration of function 'resWalkright' [-Wimplicit-function-declaration] xlen = resWalkright(top,tt,xpos,ypos,NULL)- xpos; ^~~~~~~~~~~~ --- compiling resis/ResUtils.o rm -f ResUtils.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ResUtils.c ResUtils.c: In function 'ResPreProcessTransistors': ResUtils.c:591:24: warning: 'pNum' may be used uninitialized in this function [-Wmaybe-uninitialized] tile = (Def->cd_planes[pNum])->pl_hint; ~~~~~~~~~~~~~~~^~~~~~~ --- compiling resis/ResDebug.o rm -f ResDebug.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ResDebug.c ResDebug.c: In function 'ResPrintResistorList': ResDebug.c:91:40: warning: format '%d' expects argument of type 'int', but argument 7 has type 'double' [-Wformat=] fprintf(fp, "r (%d,%d) (%d,%d) r=%d\n", ~^ %f ResDebug.c:96:5: list->rr_value); ~~~~~~~~~~~~~~ --- linking libresis.o rm -f libresis.o ld -r ResMain.o ResJunct.o ResMakeRes.o ResSimple.o ResPrint.o ResReadSim.o ResConDCS.o ResRex.o ResBasic.o ResMerge.o ResChecks.o ResFract.o ResUtils.o ResDebug.o -o libresis.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/resis' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/select' --- compiling select/selCreate.o rm -f selCreate.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c selCreate.c selCreate.c: In function 'SelectClear': selCreate.c:180:2: warning: implicit declaration of function 'SelNetRememberForUndo'; did you mean 'SelRememberForUndo'? [-Wimplicit-function-declaration] SelNetRememberForUndo((CellDef *)NULL, (Point *)NULL, ^~~~~~~~~~~~~~~~~~~~~ SelRememberForUndo selCreate.c:214:13: warning: implicit declaration of function 'DBCellSrArea'; did you mean 'DBCellSrDefs'? [-Wimplicit-function-declaration] (void) DBCellSrArea(&scx, selClearFunc, (ClientData) NULL); ^~~~~~~~~~~~ DBCellSrDefs selCreate.c:217:3: warning: implicit declaration of function 'DBUnLinkCell'; did you mean 'DBUnlinkCell'? [-Wimplicit-function-declaration] DBUnLinkCell(selDeleteUses[i], SelectDef); ^~~~~~~~~~~~ DBUnlinkCell selCreate.c: In function 'SelectChunk': selCreate.c:584:28: warning: implicit declaration of function 'DBMaskAddStacking'; did you mean 'DBTechFindStacking'? [-Wimplicit-function-declaration] if (DBIsContact(type)) DBMaskAddStacking(&typeMask); ^~~~~~~~~~~~~~~~~ DBTechFindStacking selCreate.c:613:2: warning: implicit declaration of function 'DBCellCopyManhattanPaint'; did you mean 'DBCellCopyAllPaint'? [-Wimplicit-function-declaration] DBCellCopyManhattanPaint(&newscx, &typeMask, xMask, Select2Use); ^~~~~~~~~~~~~~~~~~~~~~~~ DBCellCopyAllPaint selCreate.c:556:14: warning: unused variable 'ttype' [-Wunused-variable] TileType ttype; ^~~~~ In file included from selCreate.c:31:0: selCreate.c: In function 'SelectAndCopy2': ../database/database.h:697:38: warning: implicit declaration of function 'DBMergeNMTiles0'; did you mean 'DBMergeNMTiles'? [-Wimplicit-function-declaration] #define DBMergeNMTiles(a, b, c) DBMergeNMTiles0(a, b, c, FALSE) ^ selCreate.c:1122:2: note: in expansion of macro 'DBMergeNMTiles' DBMergeNMTiles(Select2Def->cd_planes[plane], &TiPlaneRect, ^~~~~~~~~~~~~~ selCreate.c:1075:31: warning: unused variable 'expanded' [-Wunused-variable] Rect editArea, labelArea, expanded; ^~~~~~~~ selCreate.c:1075:20: warning: unused variable 'labelArea' [-Wunused-variable] Rect editArea, labelArea, expanded; ^~~~~~~~~ selCreate.c: In function 'selACPaintFunc': selCreate.c:1187:2: warning: implicit declaration of function 'DBSrPaintNMArea'; did you mean 'DBSrPaintArea'? [-Wimplicit-function-declaration] DBSrPaintNMArea((Tile *) NULL, EditCellUse->cu_def->cd_planes[plane], ^~~~~~~~~~~~~~~ DBSrPaintArea selCreate.c: In function 'selACPaintFunc2': selCreate.c:1257:6: warning: implicit declaration of function 'GrClipTriangle' [-Wimplicit-function-declaration] GrClipTriangle(editClip, &selArea, TRUE, dinfo, points, &np); ^~~~~~~~~~~~~~ selCreate.c:1276:7: warning: implicit declaration of function 'GeoCanonicalRect'; did you mean 'GeoTransRect'? [-Wimplicit-function-declaration] GeoCanonicalRect(&rrect, &selArea); ^~~~~~~~~~~~~~~~ GeoTransRect selCreate.c:1315:3: warning: implicit declaration of function 'DBPaintValid'; did you mean 'DBPaintMask'? [-Wimplicit-function-declaration] DBPaintValid(SelectDef, &rrect, &tmask, 0); ^~~~~~~~~~~~ DBPaintMask selCreate.c:1235:64: warning: 'ttype' may be used uninitialized in this function [-Wmaybe-uninitialized] ttype = (selACarg->ttype & TT_SIDE) ? ((ttype & TT_RIGHTMASK) >> 14) : ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ --- compiling select/selDisplay.o rm -f selDisplay.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c selDisplay.c selDisplay.c: In function 'SelRedisplay': selDisplay.c:166:6: warning: implicit declaration of function 'DBWDrawFontLabel'; did you mean 'DBWDrawLabel'? [-Wimplicit-function-declaration] DBWDrawFontLabel(label, window, &selDisUse->cu_transform, ^~~~~~~~~~~~~~~~ DBWDrawLabel selDisplay.c:187:12: warning: implicit declaration of function 'DBCellSrArea'; did you mean 'DBCellSrDefs'? [-Wimplicit-function-declaration] (void) DBCellSrArea(&scx, selRedisplayCellFunc, (ClientData) window); ^~~~~~~~~~~~ DBCellSrDefs selDisplay.c: In function 'selRedisplayFunc': selDisplay.c:245:6: warning: implicit declaration of function 'GrDrawTriangleEdge' [-Wimplicit-function-declaration] GrDrawTriangleEdge(&screenEdge, TiGetTypeExact(tile)); ^~~~~~~~~~~~~~~~~~ selDisplay.c: In function 'SelCopyToFeedback': selDisplay.c:412:5: warning: implicit declaration of function 'UndoDisable' [-Wimplicit-function-declaration] UndoDisable(); ^~~~~~~~~~~ selDisplay.c:419:5: warning: implicit declaration of function 'UndoEnable' [-Wimplicit-function-declaration] UndoEnable(); ^~~~~~~~~~ selDisplay.c: At top level: selDisplay.c:426:1: warning: "/*" within comment [-Wcomment] /*----------------------------------------------------------------------*/ --- compiling select/selEnum.o rm -f selEnum.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c selEnum.c selEnum.c: In function 'selEnumPFunc1': selEnum.c:235:2: warning: implicit declaration of function 'DBSrPaintNMArea'; did you mean 'DBSrPaintArea'? [-Wimplicit-function-declaration] DBSrPaintNMArea((Tile *)NULL, ^~~~~~~~~~~~~~~ DBSrPaintArea selEnum.c:183:21: warning: unused variable 'uMask' [-Wunused-variable] TileTypeBitMask uMask; ^~~~~ selEnum.c: In function 'selEnumPFunc2': selEnum.c:317:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((ttype != seltype) && (((ttype == TT_SPACE) && ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ TTMaskHasType(&DBHomePlaneTypes[arg->sea_plane], seltype))) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ selEnum.c:373:6: warning: implicit declaration of function 'GrClipTriangle' [-Wimplicit-function-declaration] GrClipTriangle(&arg->sea_rect, &lr->r_r, TRUE, arg->sea_type, points, &np); ^~~~~~~~~~~~~~ selEnum.c:393:4: warning: implicit declaration of function 'GeoCanonicalRect'; did you mean 'GeoTransRect'? [-Wimplicit-function-declaration] GeoCanonicalRect(&lr->r_r, &area); ^~~~~~~~~~~~~~~~ GeoTransRect selEnum.c: In function 'SelEnumCells': selEnum.c:574:9: warning: implicit declaration of function 'DBCellSrArea'; did you mean 'DBCellSrDefs'? [-Wimplicit-function-declaration] if (DBCellSrArea(&scx2, selEnumCFunc1, (ClientData) &arg) != 0) ^~~~~~~~~~~~ DBCellSrDefs --- compiling select/selOps.o rm -f selOps.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c selOps.c selOps.c: In function 'selDelPaintFunc': selOps.c:162:5: warning: implicit declaration of function 'DBEraseValid'; did you mean 'DBEraseLabel'? [-Wimplicit-function-declaration] DBEraseValid(EditCellUse->cu_def, &editRect, &tmask, dinfo); ^~~~~~~~~~~~ DBEraseLabel selOps.c: In function 'selDelCellFunc': selOps.c:176:5: warning: implicit declaration of function 'DBUnLinkCell'; did you mean 'DBUnlinkCell'? [-Wimplicit-function-declaration] DBUnLinkCell(use, use->cu_parent); ^~~~~~~~~~~~ DBUnlinkCell selOps.c: In function 'SelectFlat': selOps.c:279:5: warning: implicit declaration of function 'FlatCopyAllLabels'; did you mean 'DBCellCopyAllLabels'? [-Wimplicit-function-declaration] FlatCopyAllLabels(&scx, &DBAllTypeBits, CU_DESCEND_ALL, Select2Use); ^~~~~~~~~~~~~~~~~ DBCellCopyAllLabels selOps.c: In function 'SelectShort': selOps.c:712:26: warning: implicit declaration of function 'Match' [-Wimplicit-function-declaration] if ((srclab == NULL) && Match(lab1, selLabel->lab_text)) ^~~~~ selOps.c: In function 'selTransLabelFunc': selOps.c:890:5: warning: implicit declaration of function 'GeoTransPointDelta'; did you mean 'GeoTransPoint'? [-Wimplicit-function-declaration] GeoTransPointDelta(defTransform, &label->lab_offset, &rootOffset); ^~~~~~~~~~~~~~~~~~ GeoTransPoint selOps.c:891:18: warning: implicit declaration of function 'GeoTransAngle'; did you mean 'GeoTransPos'? [-Wimplicit-function-declaration] rootRotate = GeoTransAngle(defTransform, label->lab_rotate); ^~~~~~~~~~~~~ GeoTransPos selOps.c: In function 'selExpandFunc': selOps.c:995:9: warning: implicit declaration of function 'DBDescendSubcell'; did you mean 'DBDeleteCell'? [-Wimplicit-function-declaration] if (DBDescendSubcell(use, mask)) ^~~~~~~~~~~~~~~~ DBDeleteCell selOps.c: In function 'selArrayLFunc': selOps.c:1186:5: warning: implicit declaration of function 'nmGetNums'; did you mean 'nmPutNums'? [-Wimplicit-function-declaration] nmGetNums(label->lab_text, &labx, &laby); ^~~~~~~~~ nmPutNums selOps.c: In function 'SelectStretch': selOps.c:1313:2: warning: implicit declaration of function 'DBPaintValid'; did you mean 'DBPaintMask'? [-Wimplicit-function-declaration] DBPaintValid(EditCellUse->cu_def, &selStretchList->sa_area, &tmask, type); ^~~~~~~~~~~~ DBPaintMask selOps.c: In function 'selStretchEraseFunc': selOps.c:1354:37: warning: unused variable 'residueMask' [-Wunused-variable] TileTypeBitMask tmpmask, mask, *residueMask; ^~~~~~~~~~~ selOps.c: In function 'selStretchFillFunc3': selOps.c:1636:22: warning: unused variable 'mask' [-Wunused-variable] TileTypeBitMask *mask, *sMask, *tMask; ^~~~ selOps.c:1682:5: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] if (type == TT_SPACE) return 0; /* nothing to stretch */ ^ selOps.c: In function 'SelectShort': selOps.c:736:5: warning: 'tile' may be used uninitialized in this function [-Wmaybe-uninitialized] selShortFindNext(tile, pnum, &destlab->lab_rect.r_ll, 0, &best, GEO_CENTER, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &DBConnectTbl[srclab->lab_type]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling select/selUndo.o rm -f selUndo.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c selUndo.c selUndo.c: In function 'SelRememberForUndo': selUndo.c:196:28: warning: missing braces around initializer [-Wmissing-braces] static Rect nullRect = {0, 0, -1, -1}; ^ { } { } --- compiling select/selUnselect.o rm -f selUnselect.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c selUnselect.c selUnselect.c: In function 'SelRemoveArea': selUnselect.c:163:11: warning: implicit declaration of function 'DBCellSrArea'; did you mean 'DBCellSrDefs'? [-Wimplicit-function-declaration] (void) DBCellSrArea(&scx, selRemoveCellFunc, (ClientData) &bbox); ^~~~~~~~~~~~ DBCellSrDefs selUnselect.c:168:8: warning: implicit declaration of function 'DBUnLinkCell'; did you mean 'DBUnlinkCell'? [-Wimplicit-function-declaration] DBUnLinkCell(selRemoveUses[i], SelectDef); ^~~~~~~~~~~~ DBUnlinkCell selUnselect.c: In function 'SelectRemoveCellUse': selUnselect.c:375:11: warning: unused variable 'selectedUse' [-Wunused-variable] CellUse selectedUse; ^~~~~~~~~~~ --- linking libselect.o rm -f libselect.o ld -r selCreate.o selDisplay.o selEnum.o selOps.o selUndo.o selUnselect.o -o libselect.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/select' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/sim' --- compiling sim/SimDBstuff.o rm -f SimDBstuff.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c SimDBstuff.c SimDBstuff.c: In function 'SimConnectFunc': SimDBstuff.c:252:9: warning: implicit declaration of function 'DBSrPaintNMArea'; did you mean 'DBSrPaintArea'? [-Wimplicit-function-declaration] if (DBSrPaintNMArea((Tile *) NULL, def->cd_planes[pNum], ^~~~~~~~~~~~~~~ DBSrPaintArea SimDBstuff.c: In function 'SimTreeCopyConnect': SimDBstuff.c:421:12: warning: implicit declaration of function 'SimTreeSrTiles'; did you mean 'DBTreeSrTiles'? [-Wimplicit-function-declaration] (void) SimTreeSrTiles(scx, mask, xMask, &tpath, SimConnectFunc, ^~~~~~~~~~~~~~ DBTreeSrTiles SimDBstuff.c:431:6: warning: implicit declaration of function 'SimTreeSrNMTiles'; did you mean 'DBTreeSrTiles'? [-Wimplicit-function-declaration] SimTreeSrNMTiles(scx, newtype, newmask, xMask, &tpath, ^~~~~~~~~~~~~~~~ DBTreeSrTiles SimDBstuff.c: In function 'SimCellTileSrFunc': SimDBstuff.c:789:10: warning: implicit declaration of function 'DBDescendSubcell'; did you mean 'DBDeleteCell'? [-Wimplicit-function-declaration] if (!DBDescendSubcell(scx->scx_use, fp->tf_xmask)) ^~~~~~~~~~~~~~~~ DBDeleteCell SimDBstuff.c:849:9: warning: implicit declaration of function 'DBCellSrArea'; did you mean 'DBCellSrDefs'? [-Wimplicit-function-declaration] if (DBCellSrArea(scx, SimCellTileSrFunc, (ClientData) fp)) ^~~~~~~~~~~~ DBCellSrDefs SimDBstuff.c:857:24: warning: 'tnext' may be used uninitialized in this function [-Wmaybe-uninitialized] fp->tf_tpath->tp_next = tnext; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ --- compiling sim/SimSelect.o rm -f SimSelect.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c SimSelect.c SimSelect.c: In function 'SimSelectNode': SimSelect.c:148:5: warning: implicit declaration of function 'SimTreeCopyConnect'; did you mean 'DBTreeCopyConnect'? [-Wimplicit-function-declaration] SimTreeCopyConnect(scx, &mask, xMask, DBConnectTbl, ^~~~~~~~~~~~~~~~~~ DBTreeCopyConnect SimSelect.c: In function 'SimSelectArea': SimSelect.c:279:2: warning: implicit declaration of function 'ExtResetTiles' [-Wimplicit-function-declaration] ExtResetTiles(SelectDef, (ClientData) CLIENTDEFAULT); ^~~~~~~~~~~~~ SimSelect.c:280:2: warning: implicit declaration of function 'SimGetNodeCleanUp'; did you mean 'SimGetNodeCommand'? [-Wimplicit-function-declaration] SimGetNodeCleanUp(); ^~~~~~~~~~~~~~~~~ SimGetNodeCommand SimSelect.c: In function 'SimSelectFunc': SimSelect.c:380:5: warning: implicit declaration of function 'SimSrConnect'; did you mean 'TiSrPoint'? [-Wimplicit-function-declaration] SimSrConnect(SelectDef, &scx.scx_area, &DBAllButSpaceAndDRCBits, ^~~~~~~~~~~~ TiSrPoint SimSelect.c: In function 'SimAddLabels': SimSelect.c:624:8: warning: implicit declaration of function 'SimPutLabel'; did you mean 'DBPutLabel'? [-Wimplicit-function-declaration] pos = SimPutLabel(rootuse, &selectBox, GEO_CENTER, ^~~~~~~~~~~ DBPutLabel SimSelect.c: In function 'SimGetnode': SimSelect.c:733:2: warning: implicit declaration of function 'TxPrintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] TxPrintf("You must select paint (not a cell) to use getnode.\n"); ^~~~~~~~ dprintf At top level: SimSelect.c:22:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)SimSelect.c 4.14 MAGIC (Berkeley) 10/3/85"; ^~~~~~ --- compiling sim/SimRsim.o rm -f SimRsim.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c SimRsim.c --- compiling sim/SimExtract.o rm -f SimExtract.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c SimExtract.c SimExtract.c: In function 'SimInitDefList': SimExtract.c:171:2: warning: implicit declaration of function 'ExtResetTiles'; did you mean 'ExtSetStyle'? [-Wimplicit-function-declaration] ExtResetTiles(q->dl_def, extUnInit); ^~~~~~~~~~~~~ ExtSetStyle SimExtract.c: In function 'SimFreeNodeRegs': SimExtract.c:225:2: warning: implicit declaration of function 'ExtFreeLabRegions'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] ExtFreeLabRegions((LabRegion *) NodeRegList ); ^~~~~~~~~~~~~~~~~ ExtFindRegions SimExtract.c:222:21: warning: unused variable 'q' [-Wunused-variable] NodeRegion *p, *q; ^ SimExtract.c:222:17: warning: unused variable 'p' [-Wunused-variable] NodeRegion *p, *q; ^ SimExtract.c: In function 'SimInitConnTables': SimExtract.c:241:20: warning: unused variable 'p' [-Wunused-variable] int i, t, sd, p; ^ SimExtract.c: In function 'SimTransistorTile': SimExtract.c:475:5: warning: implicit declaration of function 'extSetNodeNum'; did you mean 'extNodeName'? [-Wimplicit-function-declaration] extSetNodeNum((LabRegion *)&transistor, pNum, tile); ^~~~~~~~~~~~~ extNodeName SimExtract.c:481:6: warning: implicit declaration of function 'extEnumTilePerim' [-Wimplicit-function-declaration] extEnumTilePerim(tile, ExtCurStyle->exts_transSDTypes[t][i], ^~~~~~~~~~~~~~~~ SimExtract.c: In function 'SimFindOneNode': SimExtract.c:577:12: warning: implicit declaration of function 'ExtFindNeighbors'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] (void) ExtFindNeighbors( tile, arg.fra_pNum, &arg ); ^~~~~~~~~~~~~~~~ ExtFindRegions SimExtract.c:660:2: warning: implicit declaration of function 'ExtLabelOneRegion'; did you mean 'ExtFindRegions'? [-Wimplicit-function-declaration] ExtLabelOneRegion( def, ExtCurStyle->exts_nodeConn, reg ); ^~~~~~~~~~~~~~~~~ ExtFindRegions SimExtract.c: In function 'SimGetNodeName': SimExtract.c:772:7: warning: implicit declaration of function 'extLabType' [-Wimplicit-function-declaration] if (extLabType(nname, LABTYPE_NAME)) { ^~~~~~~~~~ SimExtract.c:698:14: warning: unused variable 'def' [-Wunused-variable] CellDef *def = sx->scx_use->cu_def; ^~~ SimExtract.c: In function 'SimTransTerms': SimExtract.c:392:10: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] pNum = DBPlane(type); --- linking libsim.o rm -f libsim.o ld -r SimDBstuff.o SimSelect.o SimRsim.o SimExtract.o -o libsim.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/sim' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/textio' --- compiling textio/txCommands.o rm -f txCommands.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c txCommands.c txCommands.c: In function 'TxAddInputDevice': txCommands.c:464:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ txCommands.c: In function 'txGetInteractiveCommand': txCommands.c:1000:14: warning: implicit declaration of function 'TxGetLineWPrompt'; did you mean 'TxGetLinePrompt'? [-Wimplicit-function-declaration] (void) TxGetLineWPrompt(inputLine, ^~~~~~~~~~~~~~~~ TxGetLinePrompt txCommands.c: In function 'TxTclDispatch': txCommands.c:1179:14: warning: implicit declaration of function 'WindSendCommand'; did you mean 'WindAddCommand'? [-Wimplicit-function-declaration] result = WindSendCommand((MagWindow *)clientData, tclcmd, quiet); ^~~~~~~~~~~~~~~ WindAddCommand txCommands.c:1207:2: warning: implicit declaration of function 'DRCBreak'; did you mean 'DRCCheck'? [-Wimplicit-function-declaration] DRCBreak(); ^~~~~~~~ DRCCheck txCommands.c:1210:22: warning: implicit declaration of function 'Tcl_DoWhenIdle' [-Wimplicit-function-declaration] if (result == 0) Tcl_DoWhenIdle(DRCContinuous, (ClientData)NULL); ^~~~~~~~~~~~~~ At top level: txCommands.c:120:19: warning: 'lisp_cur_cmd' defined but not used [-Wunused-variable] static TxCommand *lisp_cur_cmd = NULL; ^~~~~~~~~~~~ txCommands.c: In function 'txLogCommand': txCommands.c:706:6: warning: 'but' may be used uninitialized in this function [-Wmaybe-uninitialized] int but, act; ^~~ txCommands.c:706:11: warning: 'act' may be used uninitialized in this function [-Wmaybe-uninitialized] int but, act; ^~~ --- compiling textio/txInput.o rm -f txInput.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c txInput.c txInput.c: In function 'TxGetChar': txInput.c:518:11: warning: implicit declaration of function 'TranslateChar' [-Wimplicit-function-declaration] ch = TranslateChar(event->txe_ch); ^~~~~~~~~~~~~ txInput.c: In function 'TxGetLineWPrompt': txInput.c:990:9: warning: unused variable 'return_nothing' [-Wunused-variable] int return_nothing = 0; ^~~~~~~~~~~~~~ txInput.c:989:28: warning: unused variable 'tmp' [-Wunused-variable] char *res, *hist_res, *tmp; ^~~ txInput.c:989:17: warning: unused variable 'hist_res' [-Wunused-variable] char *res, *hist_res, *tmp; ^~~~~~~~ --- compiling textio/txMain.o rm -f txMain.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c txMain.c txMain.c: In function 'TxInit': txMain.c:95:5: warning: implicit declaration of function 'txCommandsInit' [-Wimplicit-function-declaration] txCommandsInit(); ^~~~~~~~~~~~~~ --- compiling textio/txMore.o rm -f txMore.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c txMore.c txMore.c: In function 'TxMore': txMore.c:52:12: warning: implicit declaration of function 'TxGetLinePrompt' [-Wimplicit-function-declaration] (void) TxGetLinePrompt(line, sizeof line, prompt); ^~~~~~~~~~~~~~~ --- compiling textio/txOutput.o rm -f txOutput.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c txOutput.c In file included from txOutput.c:35:0: txOutput.c: In function 'txFprintfBasic': ../textio/textio.h:52:18: warning: implicit declaration of function 'Tcl_printf'; did you mean 'TxReprint'? [-Wimplicit-function-declaration] #define Vfprintf Tcl_printf ^ txOutput.c:86:5: note: in expansion of macro 'Vfprintf' Vfprintf(f, fmt, args); ^~~~~~~~ At top level: txOutput.c:53:12: warning: 'txMorePid' defined but not used [-Wunused-variable] static int txMorePid; ^~~~~~~~~ --- linking libtextio.o rm -f libtextio.o ld -r txCommands.o txInput.o txMain.o txMore.o txOutput.o -o libtextio.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/textio' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/tiles' --- compiling tiles/tile.o rm -f tile.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c tile.c tile.c:57:27: warning: missing braces around initializer [-Wmissing-braces] global Rect TiPlaneRect = { MINFINITY+2, MINFINITY+2, INFINITY-2, INFINITY-2 }; ^ tile.c: In function 'mmapTileStore': tile.c:674:2: warning: implicit declaration of function 'TxError'; did you mean 'perror'? [-Wimplicit-function-declaration] TxError("TileStore: Unable to mmap ANON SEGMENT\n"); ^~~~~~~ perror tile.c: In function 'tiPrint': tile.c:814:12: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type 'long int' [-Wformat=] printf("tp=%p LL=(%d,%d) body=0x%"DLONG_PREFIX"x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tp, LEFT(tp), BOTTOM(tp), (dlong) tp->ti_body); ~~~~~~~~~~~~~~~~~~~ tile.c:814:52: note: format string is defined here printf("tp=%p LL=(%d,%d) body=0x%"DLONG_PREFIX"x\n", ~~~~~~~~~~~~~~~^ --- compiling tiles/search.o rm -f search.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c search.c --- compiling tiles/search2.o rm -f search2.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c search2.c --- linking libtiles.o rm -f libtiles.o ld -r tile.o search.o search2.o -o libtiles.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/tiles' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/utils' --- compiling utils/args.o rm -f args.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c args.c args.c: In function 'ArgStr': args.c:73:5: warning: implicit declaration of function 'TxError'; did you mean 'perror'? [-Wimplicit-function-declaration] TxError("-%c requires a following %s\n", argv[0][1], argType); ^~~~~~~ perror --- compiling utils/child.o rm -f child.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c child.c child.c: In function 'Wait': child.c:178:8: warning: implicit declaration of function 'wait'; did you mean 'Wait'? [-Wimplicit-function-declaration] pid = wait(&p_status); ^~~~ Wait --- compiling utils/dqueue.o rm -f dqueue.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c dqueue.c --- compiling utils/finddisp.o rm -f finddisp.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c finddisp.c --- compiling utils/flock.o rm -f flock.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c flock.c flock.c: In function 'flock_open': flock.c:157:6: warning: implicit declaration of function 'TxPrintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] TxPrintf("File <%s> is already locked by another process." ^~~~~~~~ dprintf --- compiling utils/flsbuf.o rm -f flsbuf.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c flsbuf.c --- compiling utils/fraction.o rm -f fraction.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c fraction.c --- compiling utils/geometry.o rm -f geometry.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c geometry.c geometry.c:77:28: warning: missing braces around initializer [-Wmissing-braces] global Rect GeoNullRect = { 0, 0, 0, 0 }; ^ { } { } geometry.c: In function 'GeoNameToPos': geometry.c:366:5: warning: missing braces around initializer [-Wmissing-braces] { ^ "bl", GEO_SOUTHWEST, FALSE, { } "bottom", GEO_SOUTH, TRUE, { } "br", GEO_SOUTHEAST, FALSE, { } "center", GEO_CENTER, FALSE, { } "d", GEO_SOUTH, TRUE, { } "dl", GEO_SOUTHWEST, FALSE, { } "down", GEO_SOUTH, TRUE, { } "dr", GEO_SOUTHEAST, FALSE, { } "e", GEO_EAST, TRUE, { } "east", GEO_EAST, TRUE, { } "left", GEO_WEST, TRUE, { } "n", GEO_NORTH, TRUE, { } "ne", GEO_NORTHEAST, FALSE, { } "north", GEO_NORTH, TRUE, { } "northeast", GEO_NORTHEAST, FALSE, { } "northwest", GEO_NORTHWEST, FALSE, { } "nw", GEO_NORTHWEST, FALSE, { } "right", GEO_EAST, TRUE, { } "s", GEO_SOUTH, TRUE, { } "se", GEO_SOUTHEAST, FALSE, { } "south", GEO_SOUTH, TRUE, { } "southeast", GEO_SOUTHEAST, FALSE, { } "southwest", GEO_SOUTHWEST, FALSE, { } "sw", GEO_SOUTHWEST, FALSE, { } "tl", GEO_NORTHWEST, FALSE, { } "top", GEO_NORTH, TRUE, { } "tr", GEO_NORTHEAST, FALSE, { } "u", GEO_NORTH, TRUE, { } "ul", GEO_NORTHWEST, FALSE, { } "up", GEO_NORTH, TRUE, { } "ur", GEO_NORTHEAST, FALSE, { } "w", GEO_WEST, TRUE, { } "west", GEO_WEST, TRUE, { } 0 { }; } --- compiling utils/getrect.o rm -f getrect.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c getrect.c getrect.c: In function 'GetRect': getrect.c:72:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (isNegative = ((c = getc(fin)) == '-')) c = getc(fin); ^~~~~~~~~~ getrect.c:79:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (isNegative = (c == '-')) c = getc(fin); ^~~~~~~~~~ getrect.c:86:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (isNegative = (c == '-')) c = getc(fin); ^~~~~~~~~~ getrect.c:93:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (isNegative = (c == '-')) c = getc(fin); ^~~~~~~~~~ getrect.c:65:11: warning: unused variable 'cp' [-Wunused-variable] char *cp; ^~ --- compiling utils/hash.o rm -f hash.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c hash.c hash.c: In function 'HashFreeKill': hash.c:686:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(table, &hs)) { ^~ --- compiling utils/heap.o rm -f heap.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c heap.c heap.c: In function 'HeapInitType': heap.c:149:6: warning: implicit declaration of function 'TxError'; did you mean 'perror'? [-Wimplicit-function-declaration] TxError("Unsupported key type: %d\n", keyType); ^~~~~~~ perror heap.c: In function 'heapify': heap.c:325:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (r = heapRight(used, root)) ^ heap.c:341:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (r = heapRight(used, root)) ^ heap.c: In function 'HeapDump': heap.c:548:28: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'dlong {aka long int}' [-Wformat=] case HE_DLONG: printf("%"DLONG_PREFIX"d", heap->he_list[i].he_dlong); break; ^~~ heap.c:548:44: note: format string is defined here case HE_DLONG: printf("%"DLONG_PREFIX"d", heap->he_list[i].he_dlong); break; ~~~~~~~~~~~~~~~^ --- compiling utils/list.o rm -f list.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c list.c --- compiling utils/lookup.o rm -f lookup.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c lookup.c --- compiling utils/lookupany.o rm -f lookupany.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c lookupany.c --- compiling utils/lookupfull.o rm -f lookupfull.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c lookupfull.c lookupfull.c: In function 'LookupFull': lookupfull.c:66:7: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] if (toupper(*sptr) != toupper(*tptr)) ^~~~~~~ --- compiling utils/macros.o rm -f macros.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c macros.c macros.c: In function 'MacroDefine': macros.c:89:29: warning: unused variable 'newTable' [-Wunused-variable] HashTable *clienttable, newTable; ^~~~~~~~ macros.c: In function 'MacroKey': macros.c:549:8: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] tc = toupper(tc); ^~~~~~~ macros.c:601:6: warning: implicit declaration of function 'TxPrintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] TxPrintf("Extended macros are unavailable" ^~~~~~~~ dprintf macros.c:472:9: warning: 'kc' may be used uninitialized in this function [-Wmaybe-uninitialized] int kc; ^~ --- compiling utils/main.o rm -f main.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c main.c main.c: In function 'mainInitBeforeArgs': main.c:506:5: warning: implicit declaration of function 'FindDisplay'; did you mean 'GrIsDisplay'? [-Wimplicit-function-declaration] FindDisplay((char *)NULL, "displays", CAD_LIB_PATH, &MainGraphicsFile, ^~~~~~~~~~~ GrIsDisplay main.c: In function 'mainInitAfterArgs': main.c:569:2: warning: implicit declaration of function 'PaAppend'; did you mean 'PaOpen'? [-Wimplicit-function-declaration] PaAppend(&CellLibPath, MAGIC_LIB_PATH_DEFAULT); ^~~~~~~~ PaOpen main.c:602:5: warning: implicit declaration of function 'TechInit'; did you mean 'MZTechInit'? [-Wimplicit-function-declaration] TechInit(); ^~~~~~~~ MZTechInit main.c:690:10: warning: implicit declaration of function 'TechLoad'; did you mean 'WindLoad'? [-Wimplicit-function-declaration] if (!TechLoad("minimum", 0)) ^~~~~~~~ WindLoad main.c:714:5: warning: implicit declaration of function 'CmdInit'; did you mean 'MZInit'? [-Wimplicit-function-declaration] CmdInit(); ^~~~~~~ MZInit main.c:717:5: warning: implicit declaration of function 'DBWinit'; did you mean 'W3Dinit'? [-Wimplicit-function-declaration] DBWinit(); ^~~~~~~ W3Dinit main.c:721:5: warning: implicit declaration of function 'CMWinit'; did you mean 'NMinit'? [-Wimplicit-function-declaration] CMWinit(); ^~~~~~~ NMinit main.c:728:5: warning: implicit declaration of function 'ExtInit'; did you mean 'TxInit'? [-Wimplicit-function-declaration] ExtInit(); ^~~~~~~ TxInit main.c:732:5: warning: implicit declaration of function 'PlowInit'; did you mean 'PlowTest'? [-Wimplicit-function-declaration] PlowInit(); ^~~~~~~~ PlowTest main.c:735:5: warning: implicit declaration of function 'SelectInit'; did you mean 'XSelectInput'? [-Wimplicit-function-declaration] SelectInit(); ^~~~~~~~~~ XSelectInput main.c:756:5: warning: implicit declaration of function 'IRDebugInit' [-Wimplicit-function-declaration] IRDebugInit(); ^~~~~~~~~~~ main.c:757:5: warning: implicit declaration of function 'IRAfterTech'; did you mean 'MZAfterTech'? [-Wimplicit-function-declaration] IRAfterTech(); ^~~~~~~~~~~ MZAfterTech main.c: In function 'mainInitFinal': main.c:1151:7: warning: implicit declaration of function 'DBWreload' [-Wimplicit-function-declaration] DBWreload(temporary->fn); ^~~~~~~~~ main.c:1155:7: warning: implicit declaration of function 'LefRead'; did you mean 'fread'? [-Wimplicit-function-declaration] LefRead(temporary->fn, FALSE); ^~~~~~~ fread main.c:1158:7: warning: implicit declaration of function 'DefRead'; did you mean 'fread'? [-Wimplicit-function-declaration] DefRead(temporary->fn); ^~~~~~~ fread --- compiling utils/malloc.o rm -f malloc.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c malloc.c --- compiling utils/match.o rm -f match.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c match.c --- compiling utils/maxrect.o rm -f maxrect.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c maxrect.c maxrect.c: In function 'genCanonicalMaxwidth': maxrect.c:36:22: warning: unused variable 'tp' [-Wunused-variable] Tile *tile, *tp; ^~ maxrect.c:36:15: warning: unused variable 'tile' [-Wunused-variable] Tile *tile, *tp; ^~~~ maxrect.c:35:14: warning: unused variable 's' [-Wunused-variable] int s; ^ maxrect.c: In function 'FindMaxRectangle': maxrect.c:253:14: warning: unused variable 'tt' [-Wunused-variable] TileType tt; ^~ maxrect.c: In function 'FindMaxRectangle2': maxrect.c:309:14: warning: unused variable 'tt' [-Wunused-variable] TileType tt; ^~ --- compiling utils/netlist.o rm -f netlist.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c netlist.c netlist.c: In function 'NLBuild': netlist.c:80:12: warning: implicit declaration of function 'NMEnumNets' [-Wimplicit-function-declaration] (void) NMEnumNets(nlTermFunc, (ClientData) netList); ^~~~~~~~~~ netlist.c:121:3: warning: implicit declaration of function 'DBWFeedbackAdd'; did you mean 'DBReadBackup'? [-Wimplicit-function-declaration] DBWFeedbackAdd(&r, mesg, rootUse->cu_def, 1, ^~~~~~~~~~~~~~ DBReadBackup netlist.c: In function 'NLSort': netlist.c:319:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (loc = term->nterm_locs) ^~~ netlist.c: In function 'NLNetName': netlist.c:381:25: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] (void) sprintf(tempId, "#%"DLONG_PREFIX"d", (dlong) net); ^~~~ ~~~~~~~~~~~ netlist.c:381:42: note: format string is defined here (void) sprintf(tempId, "#%"DLONG_PREFIX"d", (dlong) net); ~~~~~~~~~~~~~~~^ --- compiling utils/niceabort.o rm -f niceabort.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c niceabort.c In file included from niceabort.c:35:0: niceabort.c: In function 'DumpCore': ../utils/utils.h:77:53: warning: implicit declaration of function 'ForkChildAdd' [-Wimplicit-function-declaration] #define FORK_f(pid) do { pid = fork(); if (pid > 0) ForkChildAdd (pid); } while (0) ^ niceabort.c:74:5: note: in expansion of macro 'FORK_f' FORK_f (cpid); ^~~~~~ niceabort.c:121:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (crashFile = PaOpen(CRASHDIR, "r", "", ".", "", &crashDir)) ^~~~~~~~~ niceabort.c:67:22: warning: unused variable 'wpid' [-Wunused-variable] int cpid, gcpid, wpid; ^~~~ niceabort.c:126:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(command); ^~~~~~~~~~~~~~~ niceabort.c:158:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(command); ^~~~~~~~~~~~~~~ --- compiling utils/parser.o rm -f parser.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c parser.c --- compiling utils/path.o rm -f path.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c path.c path.c: In function 'PaEnum': path.c:687:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (next = nextName(&path, file, component, sizeof component)) ^~~~ --- compiling utils/pathvisit.o rm -f pathvisit.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c pathvisit.c pathvisit.c: In function 'PaVisitFiles': pathvisit.c:194:13: warning: implicit declaration of function 'PaEnum'; did you mean 'isalnum'? [-Wimplicit-function-declaration] return (PaEnum(path, file, paVisitFilesProc, (ClientData) pv)); ^~~~~~ isalnum pathvisit.c: In function 'paVisitFilesProc': pathvisit.c:245:13: warning: implicit declaration of function 'paVisitProcess'; did you mean 'PaVisitFiles'? [-Wimplicit-function-declaration] if (code = paVisitProcess(lp = line, pv)) ^~~~~~~~~~~~~~ PaVisitFiles pathvisit.c:245:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (code = paVisitProcess(lp = line, pv)) ^~~~ pathvisit.c: In function 'paVisitProcess': pathvisit.c:295:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (code = (*pvc->pvc_proc)(line, pvc->pvc_cdata)) ^~~~ --- compiling utils/port.o rm -f port.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c port.c --- compiling utils/printstuff.o rm -f printstuff.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c printstuff.c --- compiling utils/signals.o rm -f signals.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c signals.c signals.c: In function 'SigWatchFile': signals.c:339:10: warning: variable 'iswindow' set but not used [-Wunused-but-set-variable] bool iswindow; ^~~~~~~~ signals.c: In function 'sigCrash': signals.c:589:4: warning: implicit declaration of function 'niceabort'; did you mean 'abort'? [-Wimplicit-function-declaration] niceabort(); ^~~~~~~~~ abort --- compiling utils/stack.o rm -f stack.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c stack.c --- compiling utils/strdup.o rm -f strdup.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c strdup.c strdup.c: In function 'StrIsNumeric': strdup.c:157:12: warning: variable 'result' set but not used [-Wunused-but-set-variable] double result; ^~~~~~ --- compiling utils/runstats.o rm -f runstats.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c runstats.c runstats.c: In function 'RunStatsRealTime': runstats.c:212:33: warning: '%ld' directive writing between 1 and 20 bytes into a region of size between 0 and 43 [-Wformat-overflow=] sprintf(buf, "%ld:%02ld.%ld %ld:%02ld.%ld", ^~~ runstats.c:212:18: note: directive argument in the range [-9223372036854775807, 461168601842738791] sprintf(buf, "%ld:%02ld.%ld %ld:%02ld.%ld", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ runstats.c:212:18: note: directive argument in the range [0, 9223372036854775806] In file included from /usr/include/stdio.h:861:0, from runstats.c:28: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 14 and 124 bytes into a destination of size 50 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling utils/set.o rm -f set.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c set.c set.c: In function 'SetNoisyInt': set.c:75:6: warning: implicit declaration of function 'TxError'; did you mean 'perror'? [-Wimplicit-function-declaration] TxError("Noninteger value for integer parameter (\"%.20s\") ignored.\n", ^~~~~~~ perror set.c:88:2: warning: implicit declaration of function 'TxPrintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] TxPrintf("%8d ", *parm); ^~~~~~~~ dprintf set.c: In function 'SetNoisyBool': set.c:108:23: warning: missing braces around initializer [-Wmissing-braces] } boolStrings[] = { ^ "yes", TRUE, { } "no", FALSE, { } "true", TRUE, { } "false", FALSE, { } "1", TRUE, { } "0", FALSE, { } "on", TRUE, { } "off", FALSE, { } 0 { }; } set.c:160:12: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] return result; ^~~~~~ --- compiling utils/show.o rm -f show.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c show.c --- compiling utils/tech.o rm -f tech.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c tech.c tech.c: In function 'TechSectionGetMask': tech.c:152:31: warning: statement with no effect [-Wunused-value] if (depend != NULL) *depend != tsp->ts_thisSect; ~~~~~~~~^~~~~~~~~~~~~~~~~~~ tech.c:139:15: warning: variable 'selected' set but not used [-Wunused-but-set-variable] SectionID selected; ^~~~~~~~ tech.c: In function 'TechLoad': tech.c:498:9: warning: implicit declaration of function 'techGetTokens' [-Wimplicit-function-declaration] argc = techGetTokens(line, sizeof line, &fstack, argv); ^~~~~~~~~~~~~ tech.c:524:2: warning: implicit declaration of function 'CIFTechInit'; did you mean 'TechInit'? [-Wimplicit-function-declaration] CIFTechInit(); ^~~~~~~~~~~ TechInit tech.c:525:2: warning: implicit declaration of function 'CIFReadTechInit'; did you mean 'TechInit'? [-Wimplicit-function-declaration] CIFReadTechInit(); ^~~~~~~~~~~~~~~ TechInit tech.c:527:2: warning: implicit declaration of function 'ExtTechInit'; did you mean 'TechInit'? [-Wimplicit-function-declaration] ExtTechInit(); ^~~~~~~~~~~ TechInit tech.c:528:2: warning: implicit declaration of function 'DRCTechInit'; did you mean 'DBTechInit'? [-Wimplicit-function-declaration] DRCTechInit(); ^~~~~~~~~~~ DBTechInit tech.c:529:2: warning: implicit declaration of function 'MZTechInit'; did you mean 'TechInit'? [-Wimplicit-function-declaration] MZTechInit(); ^~~~~~~~~~ TechInit tech.c:603:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (mask = (tsp->ts_prevSects & ~techSectionMask)) ^~~~ tech.c:718:6: warning: implicit declaration of function 'CIFTechInputScale'; did you mean 'DBTechInitPlane'? [-Wimplicit-function-declaration] CIFTechInputScale(d, n, TRUE); ^~~~~~~~~~~~~~~~~ DBTechInitPlane tech.c:719:6: warning: implicit declaration of function 'CIFTechOutputScale' [-Wimplicit-function-declaration] CIFTechOutputScale(d, n); ^~~~~~~~~~~~~~~~~~ tech.c:720:6: warning: implicit declaration of function 'DRCTechScale' [-Wimplicit-function-declaration] DRCTechScale(d, n); ^~~~~~~~~~~~ tech.c:721:6: warning: implicit declaration of function 'ExtTechScale' [-Wimplicit-function-declaration] ExtTechScale(d, n); ^~~~~~~~~~~~ tech.c:722:6: warning: implicit declaration of function 'WireTechScale' [-Wimplicit-function-declaration] WireTechScale(d, n); ^~~~~~~~~~~~~ tech.c:724:6: warning: implicit declaration of function 'LefTechScale' [-Wimplicit-function-declaration] LefTechScale(d, n); ^~~~~~~~~~~~ tech.c:727:6: warning: implicit declaration of function 'RtrTechScale' [-Wimplicit-function-declaration] RtrTechScale(d, n); ^~~~~~~~~~~~ tech.c:733:10: warning: implicit declaration of function 'CIFTechLimitScale' [-Wimplicit-function-declaration] if (CIFTechLimitScale(1, 1)) ^~~~~~~~~~~~~~~~~ tech.c:741:2: warning: implicit declaration of function 'MZAfterTech' [-Wimplicit-function-declaration] MZAfterTech(); ^~~~~~~~~~~ tech.c:742:2: warning: implicit declaration of function 'IRAfterTech' [-Wimplicit-function-declaration] IRAfterTech(); ^~~~~~~~~~~ tech.c:743:2: warning: implicit declaration of function 'GAMazeInitParms' [-Wimplicit-function-declaration] GAMazeInitParms(); ^~~~~~~~~~~~~~~ tech.c:745:2: warning: implicit declaration of function 'PlowAfterTech' [-Wimplicit-function-declaration] PlowAfterTech(); ^~~~~~~~~~~~~ In file included from tech.c:33:0: tech.c: In function 'TechError': ../textio/textio.h:52:18: warning: implicit declaration of function 'Tcl_printf'; did you mean 'TxReprint'? [-Wimplicit-function-declaration] #define Vfprintf Tcl_printf ^ tech.c:804:5: note: in expansion of macro 'Vfprintf' Vfprintf(stderr, fmt, args); ^~~~~~~~ --- compiling utils/touchtypes.o rm -f touchtypes.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c touchtypes.c --- compiling utils/undo.o rm -f undo.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -c undo.c undo.c: In function 'UndoBackward': undo.c:579:2: warning: implicit declaration of function 'TxError'; did you mean 'perror'? [-Wimplicit-function-declaration] TxError("Attempted undo with undo disabled. . . abort function.\n"); ^~~~~~~ perror undo.c: In function 'undoPrintEvent': undo.c:910:12: warning: implicit declaration of function 'TxPrintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] (void) TxPrintf("0x%x: \t%s \tf=0x%x \tb=0x%x\n", ^~~~~~~~ dprintf --- linking libutils.o rm -f libutils.o ld -r args.o child.o dqueue.o finddisp.o flock.o flsbuf.o fraction.o geometry.o getrect.o hash.o heap.o list.o lookup.o lookupany.o lookupfull.o macros.o main.o malloc.o match.o maxrect.o netlist.o niceabort.o parser.o path.o pathvisit.o port.o printstuff.o signals.o stack.o strdup.o runstats.o set.o show.o tech.o touchtypes.o undo.o -o libutils.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/utils' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/windows' --- compiling windows/windClient.o rm -f windClient.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c windClient.c windClient.c: In function 'windClientButtons': windClient.c:519:8: warning: variable 'p' set but not used [-Wunused-but-set-variable] Point p; ^ windClient.c: In function 'windCmdInterp': windClient.c:645:9: warning: unused variable 'cmdNum' [-Wunused-variable] int cmdNum; ^~~~~~ --- compiling windows/windCmdAM.o rm -f windCmdAM.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c windCmdAM.c windCmdAM.c: In function 'windCaptionCmd': windCmdAM.c:153:10: warning: unused variable 'ts' [-Wunused-variable] Rect ts; ^~ windCmdAM.c: In function 'windCloseCmd': windCmdAM.c:344:10: warning: implicit declaration of function 'WindDelete'; did you mean 'WindExecute'? [-Wimplicit-function-declaration] if (!WindDelete(w)) ^~~~~~~~~~ WindExecute windCmdAM.c: In function 'windCrashCmd': windCmdAM.c:422:5: warning: implicit declaration of function 'niceabort'; did you mean 'abort'? [-Wimplicit-function-declaration] niceabort(); ^~~~~~~~~ abort windCmdAM.c: In function 'windDoMacro': windCmdAM.c:989:10: warning: variable 'ch' set but not used [-Wunused-but-set-variable] char ch; ^~ windCmdAM.c:1049:8: warning: 'wc' may be used uninitialized in this function [-Wmaybe-uninitialized] if (wc == (WindClient)NULL) ^ --- compiling windows/windCmdNR.o rm -f windCmdNR.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c windCmdNR.c windCmdNR.c: In function 'windOpenCmd': windCmdNR.c:79:2: warning: implicit declaration of function 'windScreenToFrame'; did you mean 'WindScreenToSurface'? [-Wimplicit-function-declaration] windScreenToFrame(w, &cmd->tx_p, &frame); ^~~~~~~~~~~~~~~~~ WindScreenToSurface windCmdNR.c: In function 'windPushbuttonCmd': windCmdNR.c:236:12: warning: implicit declaration of function 'WindSendCommand'; did you mean 'WindAddCommand'? [-Wimplicit-function-declaration] (void) WindSendCommand(w, &txcmd, FALSE); ^~~~~~~~~~~~~~~ WindAddCommand --- compiling windows/windCmdSZ.o rm -f windCmdSZ.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c windCmdSZ.c windCmdSZ.c: In function 'windScrollCmd': windCmdSZ.c:142:10: warning: implicit declaration of function 'cmdParseCoord'; did you mean 'XParseColor'? [-Wimplicit-function-declaration] xsize = cmdParseCoord(w, cmd->tx_argv[2], TRUE, TRUE); ^~~~~~~~~~~~~ XParseColor windCmdSZ.c:79:14: warning: unused variable 'locargc' [-Wunused-variable] int pos, locargc = cmd->tx_argc; ^~~~~~~ windCmdSZ.c: In function 'windSpecialOpenCmd': windCmdSZ.c:453:5: warning: implicit declaration of function 'WindPrintClientList'; did you mean 'WindNextClient'? [-Wimplicit-function-declaration] WindPrintClientList(FALSE); ^~~~~~~~~~~~~~~~~~~ WindNextClient windCmdSZ.c: In function 'windViewCmd': windCmdSZ.c:813:20: warning: unused variable 'fval' [-Wunused-variable] Tcl_Obj *listxy, *fval; ^~~~ --- compiling windows/windSend.o rm -f windSend.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c windSend.c windSend.c: In function 'WindSendCommand': windSend.c:233:38: warning: 'windCmdNum' may be used uninitialized in this function [-Wmaybe-uninitialized] (strncmp(windClient->w_commandTable[windCmdNum], ^ --- compiling windows/windDebug.o rm -f windDebug.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c windDebug.c --- compiling windows/windDisp.o rm -f windDisp.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c windDisp.c windDisp.c: In function 'WindAreaChanged': windDisp.c:330:9: warning: implicit declaration of function 'GeoDisjoint'; did you mean 'GeoClipPoint'? [-Wimplicit-function-declaration] (void) GeoDisjoint(&biggerArea, &w->w_clipAgainst->r_r, windChangedFunc, ^~~~~~~~~~~ GeoClipPoint windDisp.c: In function 'WindUpdate': windDisp.c:868:5: warning: implicit declaration of function 'SigRemoveTimer'; did you mean 'SigSetTimer'? [-Wimplicit-function-declaration] SigRemoveTimer(); ^~~~~~~~~~~~~~ SigSetTimer --- compiling windows/windMain.o rm -f windMain.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c windMain.c windMain.c: In function 'WindInit': windMain.c:112:10: warning: implicit declaration of function 'GrReadGlyphs'; did you mean 'GrFreeGlyphs'? [-Wimplicit-function-declaration] if (!GrReadGlyphs(glyphName, ".", SysLibPath, &windGlyphs)) ^~~~~~~~~~~~ GrFreeGlyphs windMain.c:113:2: warning: implicit declaration of function 'MainExit'; did you mean '_Exit'? [-Wimplicit-function-declaration] MainExit(1); ^~~~~~~~ _Exit windMain.c: In function 'WindNextClient': windMain.c:344:9: warning: unused variable 'length' [-Wunused-variable] int length; ^~~~~~ windMain.c: In function 'WindReplaceCommand': windMain.c:540:11: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] if (!isalnum(*(commandTable[cidx] + clen))) ^~~~~~~ --- compiling windows/windMove.o rm -f windMove.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c windMove.c windMove.c: In function 'WindDelete': windMove.c:230:2: warning: implicit declaration of function 'windReClip'; did you mean 'windUnlink'? [-Wimplicit-function-declaration] windReClip(); ^~~~~~~~~~ windUnlink windMove.c: In function 'windFindUnobscured': windMove.c:573:12: warning: implicit declaration of function 'GeoDisjoint'; did you mean 'GeoClipPoint'? [-Wimplicit-function-declaration] (void) GeoDisjoint(area, &w->w_frameArea, ^~~~~~~~~~~ GeoClipPoint windMove.c: In function 'WindReframe': windMove.c:620:5: warning: implicit declaration of function 'GeoCanonicalRect'; did you mean 'GeoTransRect'? [-Wimplicit-function-declaration] GeoCanonicalRect(r, &newFrameArea); ^~~~~~~~~~~~~~~~ GeoTransRect --- compiling windows/windSearch.o rm -f windSearch.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c windSearch.c --- compiling windows/windTrans.o rm -f windTrans.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c windTrans.c --- compiling windows/windView.o rm -f windView.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c windView.c windView.c: In function 'WindUnload': windView.c:98:6: warning: implicit declaration of function 'DBWloadWindow' [-Wimplicit-function-declaration] DBWloadWindow(mw, (char *)NULL, TRUE, FALSE); ^~~~~~~~~~~~~ windView.c: In function 'WindScroll': windView.c:501:2: warning: implicit declaration of function 'DBWHLRedrawPrepWindow' [-Wimplicit-function-declaration] DBWHLRedrawPrepWindow(w, &(w->w_surfaceArea)); ^~~~~~~~~~~~~~~~~~~~~ --- linking libwindows.o rm -f libwindows.o ld -r windClient.o windCmdAM.o windCmdNR.o windCmdSZ.o windSend.o windDebug.o windDisp.o windMain.o windMove.o windSearch.o windTrans.o windView.o -o libwindows.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/windows' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/wiring' --- compiling wiring/wireOps.o rm -f wireOps.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c wireOps.c wireOps.c: In function 'WireAddLeg': wireOps.c:437:5: warning: implicit declaration of function 'DBPaintValid'; did you mean 'DBPaintMask'? [-Wimplicit-function-declaration] DBPaintValid(EditCellUse->cu_def, &editArea, &mask, 0); ^~~~~~~~~~~~ DBPaintMask wireOps.c: In function 'WireShowLeg': wireOps.c:621:5: warning: implicit declaration of function 'UndoDisable' [-Wimplicit-function-declaration] UndoDisable(); ^~~~~~~~~~~ wireOps.c:634:5: warning: implicit declaration of function 'UndoEnable' [-Wimplicit-function-declaration] UndoEnable(); ^~~~~~~~~~ wireOps.c:514:19: warning: unused variable 'scx' [-Wunused-variable] SearchContext scx; ^~~ wireOps.c:512:29: warning: unused variable 'editArea' [-Wunused-variable] Rect current, new, leg, editArea, *rect = ¤t; ^~~~~~~~ wireOps.c:512:24: warning: unused variable 'leg' [-Wunused-variable] Rect current, new, leg, editArea, *rect = ¤t; ^~~ --- compiling wiring/wireTech.o rm -f wireTech.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c wireTech.c wireTech.c: In function 'WireTechInit': wireTech.c:61:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ wireTech.c:60:14: warning: unused variable 'contact' [-Wunused-variable] Contact *contact; ^~~~~~~ --- compiling wiring/wireUndo.o rm -f wireUndo.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c wireUndo.c --- linking libwiring.o rm -f libwiring.o ld -r wireOps.o wireTech.o wireUndo.o -o libwiring.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/wiring' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/ext2sim' --- compiling ext2sim/ext2sim.o rm -f ext2sim.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ext2sim.c ext2sim.c: In function 'CmdExtToSim': ext2sim.c:477:5: warning: implicit declaration of function 'EFInit'; did you mean 'TxInit'? [-Wimplicit-function-declaration] EFInit(); ^~~~~~ TxInit ext2sim.c:488:2: warning: implicit declaration of function 'EFDone'; did you mean 'Expose'? [-Wimplicit-function-declaration] EFDone(); ^~~~~~ Expose ext2sim.c:557:9: warning: implicit declaration of function 'EFReadFile' [-Wimplicit-function-declaration] if (EFReadFile(inName, FALSE, esDoExtResis, FALSE) == FALSE) ^~~~~~~~~~ ext2sim.c:591:6: warning: implicit declaration of function 'efBuildAddStr' [-Wimplicit-function-declaration] i = efBuildAddStr(EFDevTypes, &EFDevNumTypes, MAXDEVTYPES, devname); ^~~~~~~~~~~~~ ext2sim.c:611:5: warning: implicit declaration of function 'EFFlatBuild' [-Wimplicit-function-declaration] EFFlatBuild(inName, flatFlags); ^~~~~~~~~~~ ext2sim.c:617:2: warning: implicit declaration of function 'EFVisitDevs' [-Wimplicit-function-declaration] EFVisitDevs(simmergeVisit, (ClientData) NULL); ^~~~~~~~~~~ ext2sim.c:628:2: warning: implicit declaration of function 'EFVisitCaps' [-Wimplicit-function-declaration] EFVisitCaps(simcapVisit, (ClientData) NULL); ^~~~~~~~~~~ ext2sim.c:630:5: warning: implicit declaration of function 'EFVisitResists' [-Wimplicit-function-declaration] EFVisitResists(simresistVisit, (ClientData) NULL); ^~~~~~~~~~~~~~ ext2sim.c:632:5: warning: implicit declaration of function 'EFVisitNodes' [-Wimplicit-function-declaration] EFVisitNodes(simnodeVisit, (ClientData) NULL); ^~~~~~~~~~~~ ext2sim.c:634:5: warning: implicit declaration of function 'EFFlatDone' [-Wimplicit-function-declaration] EFFlatDone(); ^~~~~~~~~~ ext2sim.c:255:11: warning: unused variable 'f' [-Wunused-variable] FILE *f; ^ ext2sim.c: In function 'simmainArgs': ext2sim.c:803:28: warning: unused variable 'cp' [-Wunused-variable] char **argv = *pargv, *cp; ^~ ext2sim.c: In function 'simdevVisit': ext2sim.c:1014:5: warning: implicit declaration of function 'EFGetLengthAndWidth' [-Wimplicit-function-declaration] EFGetLengthAndWidth(dev, &l, &w); ^~~~~~~~~~~~~~~~~~~ ext2sim.c:1051:8: warning: implicit declaration of function 'simdevOutNode'; did you mean 'SimGetNode'? [-Wimplicit-function-declaration] simdevOutNode(hierName, gate->dterm_node->efnode_name->efnn_hier, name, esSimF); ^~~~~~~~~~~~~ SimGetNode ext2sim.c:1080:2: warning: implicit declaration of function 'simdevSubstrate'; did you mean 'simdevVisit'? [-Wimplicit-function-declaration] simdevSubstrate(hierName, subnode->efnode_name->efnn_hier, ^~~~~~~~~~~~~~~ simdevVisit ext2sim.c: In function 'simdevSubstrate': ext2sim.c:1212:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ( ( EFTrimFlags & EF_TRIMGLOB ) && suf[l] =='!' || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ext2sim.c:1243:6: warning: implicit declaration of function 'EFHNOut'; did you mean 'EFHNToStr'? [-Wimplicit-function-declaration] EFHNOut(nn->efnn_node->efnode_name->efnn_hier, outf); ^~~~~~~ EFHNToStr ext2sim.c: In function 'simnodeVisit': ext2sim.c:1509:11: warning: implicit declaration of function 'EFHNIsGlob'; did you mean 'EFHNLook'? [-Wimplicit-function-declaration] isGlob = EFHNIsGlob(hierName); ^~~~~~~~~~ EFHNLook ext2sim.c: In function 'simmergeVisit': ext2sim.c:1651:16: warning: variable 'cs' set but not used [-Wunused-but-set-variable] DevTerm *cg, *cs, *cd; ^~ ext2sim.c:1651:11: warning: variable 'cg' set but not used [-Wunused-but-set-variable] DevTerm *cg, *cs, *cd; ^~ ext2sim.c:1650:11: warning: variable 'cf' set but not used [-Wunused-but-set-variable] Dev *cf; ^~ ext2sim.c: In function 'simdevVisit': ext2sim.c:1155:19: warning: 'source' may be used uninitialized in this function [-Wmaybe-uninitialized] else if ( Match(ATTR_FLATAP, source->dterm_attrs ) != FALSE ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ext2sim.c:1173:19: warning: 'drain' may be used uninitialized in this function [-Wmaybe-uninitialized] else if ( Match(ATTR_FLATAP, drain->dterm_attrs ) != FALSE ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- linking libext2sim.o rm -f libext2sim.o ld -r ext2sim.o -o libext2sim.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/ext2sim' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/ext2spice' --- compiling ext2spice/ext2spice.o rm -f ext2spice.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ext2spice.c ext2spice.c: In function 'esFormatSubs': ext2spice.c:140:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((EFTrimFlags & EF_TRIMGLOB ) && suf[l] == '!' || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ext2spice.c: In function 'CmdExtToSpice': ext2spice.c:626:5: warning: implicit declaration of function 'EFInit'; did you mean 'TxInit'? [-Wimplicit-function-declaration] EFInit(); ^~~~~~ TxInit ext2spice.c:636:2: warning: implicit declaration of function 'EFDone'; did you mean 'Expose'? [-Wimplicit-function-declaration] EFDone(); ^~~~~~ Expose ext2spice.c:671:9: warning: implicit declaration of function 'EFReadFile' [-Wimplicit-function-declaration] if (EFReadFile(inName, TRUE, esDoExtResis, FALSE) == FALSE) ^~~~~~~~~~ ext2spice.c:716:6: warning: implicit declaration of function 'efBuildAddStr'; did you mean 'efBuildNode'? [-Wimplicit-function-declaration] i = efBuildAddStr(EFDevTypes, &EFDevNumTypes, MAXDEVTYPES, devname); ^~~~~~~~~~~~~ efBuildNode ext2spice.c:851:2: warning: implicit declaration of function 'ESGenerateHierarchy' [-Wimplicit-function-declaration] ESGenerateHierarchy(inName, flatFlags); ^~~~~~~~~~~~~~~~~~~ ext2spice.c:858:2: warning: implicit declaration of function 'EFFlatBuild' [-Wimplicit-function-declaration] EFFlatBuild(inName, flatFlags); ^~~~~~~~~~~ ext2spice.c:879:6: warning: implicit declaration of function 'EFVisitSubcircuits' [-Wimplicit-function-declaration] EFVisitSubcircuits(subcktUndef, (ClientData) NULL); ^~~~~~~~~~~~~~~~~~ ext2spice.c:887:6: warning: implicit declaration of function 'EFVisitDevs' [-Wimplicit-function-declaration] EFVisitDevs(devMergeVisit, (ClientData) NULL); ^~~~~~~~~~~ ext2spice.c:902:6: warning: implicit declaration of function 'EFVisitCaps' [-Wimplicit-function-declaration] EFVisitCaps(spccapVisit, (ClientData) NULL); ^~~~~~~~~~~ ext2spice.c:904:2: warning: implicit declaration of function 'EFVisitResists' [-Wimplicit-function-declaration] EFVisitResists(spcresistVisit, (ClientData) NULL); ^~~~~~~~~~~~~~ ext2spice.c:908:2: warning: implicit declaration of function 'EFVisitNodes' [-Wimplicit-function-declaration] EFVisitNodes(spcsubVisit, (ClientData)&substr); ^~~~~~~~~~~~ ext2spice.c:922:6: warning: implicit declaration of function 'printSubcktDict' [-Wimplicit-function-declaration] printSubcktDict(); ^~~~~~~~~~~~~~~ ext2spice.c:924:2: warning: implicit declaration of function 'EFFlatDone' [-Wimplicit-function-declaration] EFFlatDone(); ^~~~~~~~~~ ext2spice.c:223:11: warning: unused variable 'f' [-Wunused-variable] FILE *f; ^ ext2spice.c:310:7: warning: typedef 'yesnoType' locally defined but not used [-Wunused-local-typedefs] } yesnoType; ^~~~~~~~~ ext2spice.c: In function 'spcmainArgs': ext2spice.c:1121:28: warning: unused variable 'cp' [-Wunused-variable] char **argv = *pargv, *cp; ^~ ext2spice.c: In function 'subcktVisit': ext2spice.c:1363:2: warning: implicit declaration of function 'EFHNSprintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] EFHNSprintf(stmp, hierName); ^~~~~~~~~~~ dprintf ext2spice.c:1399:14: warning: implicit declaration of function 'spcdevOutNode'; did you mean 'SpiceGetNode'? [-Wimplicit-function-declaration] tchars += spcdevOutNode(hierName, nodeName->efnn_hier, ^~~~~~~~~~~~~ SpiceGetNode ext2spice.c: In function 'topVisit': ext2spice.c:1606:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&def->def_nodes, &hs)) ^~ ext2spice.c:1628:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&def->def_nodes, &hs)) ^~ ext2spice.c:1659:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&def->def_nodes, &hs)) ^~ ext2spice.c:1709:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&def->def_nodes, &hs)) ^~ ext2spice.c: In function 'spcWriteParams': ext2spice.c:1825:8: warning: implicit declaration of function 'spcnAPHier' [-Wimplicit-function-declaration] spcnAPHier(&dev->dev_terms[pn], hierName, ^~~~~~~~~~ ext2spice.c:1834:8: warning: implicit declaration of function 'spcnAP' [-Wimplicit-function-declaration] spcnAP(dnode, esFetInfo[dev->dev_type].resClassSD, ^~~~~~ ext2spice.c:1783:21: warning: variable 'subnodeFlat' set but not used [-Wunused-but-set-variable] EFNode *dnode, *subnodeFlat = NULL; ^~~~~~~~~~~ ext2spice.c: In function 'esOutputResistor': ext2spice.c:2020:20: warning: unused variable 'devchar' [-Wunused-variable] char name[12], devchar; ^~~~~~~ ext2spice.c: In function 'spcdevVisit': ext2spice.c:2123:5: warning: implicit declaration of function 'EFGetLengthAndWidth' [-Wimplicit-function-declaration] EFGetLengthAndWidth(dev, &l, &w); ^~~~~~~~~~~~~~~~~~~ ext2spice.c:2107:18: warning: unused variable 'parmval' [-Wunused-variable] int l, w, i, parmval; ^~~~~~~ ext2spice.c: In function 'spcnodeVisit': ext2spice.c:3056:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (esFormat == SPICE2 || esFormat == HSPICE && strncmp(nsn, "z@", 2)==0 ) { ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ext2spice.c:3034:17: warning: unused variable 'nn' [-Wunused-variable] EFNodeName *nn; ^~ ext2spice.c: In function 'nodeVisitDebug': ext2spice.c:3096:13: warning: unused variable 'ap' [-Wunused-variable] EFAttr *ap; ^~ ext2spice.c:3095:11: warning: unused variable 'fmt' [-Wunused-variable] char *fmt, *nsn; ^~~ ext2spice.c:3093:17: warning: unused variable 'nn' [-Wunused-variable] EFNodeName *nn; ^~ ext2spice.c: In function 'nodeSpiceName': ext2spice.c:3154:2: warning: implicit declaration of function 'nodeHspiceName'; did you mean 'nodeSpiceName'? [-Wimplicit-function-declaration] nodeHspiceName(esTempName); ^~~~~~~~~~~~~~ nodeSpiceName ext2spice.c: In function 'EFHNSprintf': ext2spice.c:3200:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *cp++) ^ ext2spice.c:3188:11: warning: variable 's' set but not used [-Wunused-but-set-variable] char *s, *cp, c; ^ ext2spice.c: In function 'efHNSprintfPrefix': ext2spice.c:3222:15: warning: unused variable 'c' [-Wunused-variable] char *cp, c; ^ ext2spice.c: In function 'printSubcktDict': ext2spice.c:3355:19: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] fprintf(esSpiceF,"* x%"DLONG_PREFIX"d\t%s\n", (dlong) HashGetValue(he), he->h_key.h_name); ^~~~~~ ext2spice.c:3355:38: note: format string is defined here fprintf(esSpiceF,"* x%"DLONG_PREFIX"d\t%s\n", (dlong) HashGetValue(he), he->h_key.h_name); ~~~~~~~~~~~~~~~^ ext2spice.c:3344:17: warning: unused variable 'hs' [-Wunused-variable] HashSearch hs; ^~ ext2spice.c: In function 'devMergeVisit': ext2spice.c:3561:14: warning: variable 'cg' set but not used [-Wunused-but-set-variable] DevTerm *cg, *cs, *cd; ^~ ext2spice.c:3560:14: warning: variable 'cf' set but not used [-Wunused-but-set-variable] Dev *cf; ^~ ext2spice.c: In function 'spcdevVisit': ext2spice.c:2110:20: warning: 'devchar' may be used uninitialized in this function [-Wmaybe-uninitialized] char name[12], devchar; ^~~~~~~ ext2spice.c:2311:6: warning: 'sdM' may be used uninitialized in this function [-Wmaybe-uninitialized] spcWriteParams(dev, hierName, scale, l, w, sdM); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ext2spice.c:2586:10: warning: 'drain' may be used uninitialized in this function [-Wmaybe-uninitialized] spcnAPHier(drain, hierName, esFetInfo[dev->dev_type].resClassSD, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scale, "ad", "pd", sdM, esSpiceF); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ext2spice.c:2210:9: warning: 'source' may be used uninitialized in this function [-Wmaybe-uninitialized] if (gate == source) ^ ext2spice.c: In function 'devDistJunctVisit': ext2spice.c:3769:15: warning: 'w' may be used uninitialized in this function [-Wmaybe-uninitialized] w = (int)((float)w * scale); ^~~~~~~~ In file included from ext2spice.c:45:0: ext2spice.c: In function 'devMergeVisit': ../ext2spice/ext2spice.h:198:40: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized] #define setDevMult(i,f) { esFMult[(i)] = (float)(f); } ^ ext2spice.c:3566:11: note: 'm' was declared here float m; ^ ext2spice.c:3599:8: warning: 'dnode' may be used uninitialized in this function [-Wmaybe-uninitialized] fp = mkDevMerge((float)((float)l * scale), (float)((float)w * scale), ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnode, snode, dnode, subnode, hierName, dev); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ext2spice.c:3599:8: warning: 'snode' may be used uninitialized in this function [-Wmaybe-uninitialized] --- compiling ext2spice/ext2hier.o rm -f ext2hier.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c ext2hier.c ext2hier.c: In function 'ESGenerateHierarchy': ext2hier.c:80:5: warning: implicit declaration of function 'EFHierSrDefs'; did you mean 'DBCellSrDefs'? [-Wimplicit-function-declaration] EFHierSrDefs(&hc, esMakePorts, NULL); ^~~~~~~~~~~~ DBCellSrDefs ext2hier.c:71:10: warning: unused variable 'def' [-Wunused-variable] Def *def; ^~~ ext2hier.c: In function 'GetHierNode': ext2hier.c:111:10: warning: unused variable 'def' [-Wunused-variable] Def *def = hc->hc_use->use_def; ^~~ ext2hier.c: In function 'spcHierWriteParams': ext2hier.c:185:4: warning: implicit declaration of function 'spcnAP' [-Wimplicit-function-declaration] spcnAP(dnode, esFetInfo[dev->dev_type].resClassSD, ^~~~~~ ext2hier.c:144:21: warning: variable 'subnodeFlat' set but not used [-Wunused-but-set-variable] EFNode *dnode, *subnodeFlat = NULL; ^~~~~~~~~~~ ext2hier.c:141:10: warning: unused variable 'hierD' [-Wunused-variable] bool hierD; ^~~~~ ext2hier.c: In function 'esOutputHierResistor': ext2hier.c:349:5: warning: implicit declaration of function 'spcdevOutNode'; did you mean 'spcdevSubstrate'? [-Wimplicit-function-declaration] spcdevOutNode(hc->hc_hierName, term1->dterm_node->efnode_name->efnn_hier, ^~~~~~~~~~~~~ spcdevSubstrate ext2hier.c:342:20: warning: unused variable 'devchar' [-Wunused-variable] char name[12], devchar; ^~~~~~~ ext2hier.c:342:10: warning: unused variable 'name' [-Wunused-variable] char name[12], devchar; ^~~~ ext2hier.c:340:10: warning: unused variable 'r' [-Wunused-variable] Rect r; ^ ext2hier.c: In function 'spcdevHierVisit': ext2hier.c:497:5: warning: implicit declaration of function 'EFGetLengthAndWidth' [-Wimplicit-function-declaration] EFGetLengthAndWidth(dev, &l, &w); ^~~~~~~~~~~~~~~~~~~ ext2hier.c:484:31: warning: variable 'hierD' set but not used [-Wunused-but-set-variable] bool subAP= FALSE, hierS, hierD, extHierSDAttr() ; ^~~~~ ext2hier.c:484:24: warning: variable 'hierS' set but not used [-Wunused-but-set-variable] bool subAP= FALSE, hierS, hierD, extHierSDAttr() ; ^~~~~ ext2hier.c:483:10: warning: unused variable 'r' [-Wunused-variable] Rect r; ^ ext2hier.c:482:18: warning: unused variable 'parmval' [-Wunused-variable] int l, w, i, parmval; ^~~~~~~ ext2hier.c: In function 'spcdevHierMergeVisit': ext2hier.c:1034:15: warning: implicit declaration of function 'parallelDevs' [-Wimplicit-function-declaration] if ((pmode = parallelDevs(fp, cfp)) != NOT_PARALLEL) ^~~~~~~~~~~~ ext2hier.c: In function 'spcnodeHierVisit': ext2hier.c:1244:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (esFormat == SPICE2 || esFormat == HSPICE && !strncmp(nsn, "z@", 2)) { ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ext2hier.c:1247:2: warning: implicit declaration of function 'EFHNSprintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] EFHNSprintf(ntmp, hierName); ^~~~~~~~~~~ dprintf ext2hier.c:1222:17: warning: unused variable 'nn' [-Wunused-variable] EFNodeName *nn; ^~ ext2hier.c: In function 'nodeSpiceHierName': ext2hier.c:1326:4: warning: implicit declaration of function 'nodeHspiceName'; did you mean 'nodeSpiceName'? [-Wimplicit-function-declaration] nodeHspiceName(esTempName); ^~~~~~~~~~~~~~ nodeSpiceName ext2hier.c:1300:10: warning: unused variable 'def' [-Wunused-variable] Def *def = hc->hc_use->use_def; ^~~ ext2hier.c: In function 'devMergeHierVisit': ext2hier.c:1367:2: warning: implicit declaration of function 'devDistJunctHierVisit'; did you mean 'devDistJunctVisit'? [-Wimplicit-function-declaration] devDistJunctHierVisit(hc, dev, scale); ^~~~~~~~~~~~~~~~~~~~~ devDistJunctVisit ext2hier.c:1431:3: warning: implicit declaration of function 'mergeAttr' [-Wimplicit-function-declaration] mergeAttr(&cs->dterm_attrs, &source->dterm_attrs); ^~~~~~~~~ ext2hier.c:1359:14: warning: variable 'cg' set but not used [-Wunused-but-set-variable] DevTerm *cg, *cs, *cd; ^~ ext2hier.c:1358:14: warning: variable 'cf' set but not used [-Wunused-but-set-variable] Dev *cf; ^~ ext2hier.c: In function 'devDistJunctHierVisit': ext2hier.c:1515:2: warning: implicit declaration of function 'update_w' [-Wimplicit-function-declaration] update_w(esFetInfo[dev->dev_type].resClassSD, w, n); ^~~~~~~~ ext2hier.c: In function 'esMakePorts': ext2hier.c:1544:43: warning: variable 'locname' set but not used [-Wunused-but-set-variable] char *name, *portname, *tptr, *aptr, *locname; ^~~~~~~ ext2hier.c: In function 'esHierVisit': ext2hier.c:1783:2: warning: implicit declaration of function 'EFFlatDone' [-Wimplicit-function-declaration] EFFlatDone(); ^~~~~~~~~~ ext2hier.c:1799:2: warning: implicit declaration of function 'EFHierVisitSubcircuits' [-Wimplicit-function-declaration] EFHierVisitSubcircuits(hcf, subcktHierVisit, (ClientData)NULL); ^~~~~~~~~~~~~~~~~~~~~~ ext2hier.c:1806:6: warning: implicit declaration of function 'EFHierVisitDevs'; did you mean 'esHierVisit'? [-Wimplicit-function-declaration] EFHierVisitDevs(hcf, spcdevHierMergeVisit, (ClientData)NULL); ^~~~~~~~~~~~~~~ esHierVisit ext2hier.c:1818:2: warning: implicit declaration of function 'EFHierVisitResists'; did you mean 'esHierVisit'? [-Wimplicit-function-declaration] EFHierVisitResists(hcf, spcresistHierVisit, (ClientData)NULL); ^~~~~~~~~~~~~~~~~~ esHierVisit ext2hier.c:1822:2: warning: implicit declaration of function 'EFHierVisitCaps'; did you mean 'esHierVisit'? [-Wimplicit-function-declaration] EFHierVisitCaps(hcf, spccapHierVisit, (ClientData)NULL); ^~~~~~~~~~~~~~~ esHierVisit ext2hier.c:1827:6: warning: implicit declaration of function 'EFHierVisitNodes'; did you mean 'esHierVisit'? [-Wimplicit-function-declaration] EFHierVisitNodes(hcf, spcsubHierVisit, (ClientData)&resstr); ^~~~~~~~~~~~~~~~ esHierVisit In file included from ext2hier.c:45:0: ext2hier.c: In function 'spcdevHierMergeVisit': ../ext2spice/ext2spice.h:198:40: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized] #define setDevMult(i,f) { esFMult[(i)] = (float)(f); } ^ ext2hier.c:1012:11: note: 'm' was declared here float m; ^ ext2hier.c: In function 'spcdevHierVisit': ext2hier.c:486:10: warning: 'devchar' may be used uninitialized in this function [-Wmaybe-uninitialized] char devchar; ^~~~~~~ ext2hier.c:658:6: warning: 'sdM' may be used uninitialized in this function [-Wmaybe-uninitialized] spcHierWriteParams(hc, dev, scale, l, w, sdM); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ext2hier.c: In function 'devDistJunctHierVisit': ext2hier.c:1509:15: warning: 'w' may be used uninitialized in this function [-Wmaybe-uninitialized] w = (int)((float)w * scale); ^~~~~~~~ In file included from ext2hier.c:45:0: ext2hier.c: In function 'devMergeHierVisit': ../ext2spice/ext2spice.h:198:40: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized] #define setDevMult(i,f) { esFMult[(i)] = (float)(f); } ^ ext2hier.c:1364:11: note: 'm' was declared here float m; ^ --- linking libext2spice.o rm -f libext2spice.o ld -r ext2spice.o ext2hier.o -o libext2spice.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/ext2spice' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/calma' --- compiling calma/CalmaRead.o rm -f CalmaRead.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CalmaRead.c CalmaRead.c: In function 'CalmaReadFile': CalmaRead.c:180:10: warning: implicit declaration of function 'calmaReadI2Record'; did you mean 'CalmaReadFile'? [-Wimplicit-function-declaration] if (!calmaReadI2Record(CALMA_HEADER, &version)) goto done; ^~~~~~~~~~~~~~~~~ CalmaReadFile CalmaRead.c:186:10: warning: implicit declaration of function 'calmaSkipExact'; did you mean 'calmaSkipSet'? [-Wimplicit-function-declaration] if (!calmaSkipExact(CALMA_BGNLIB)) goto done; ^~~~~~~~~~~~~~ calmaSkipSet CalmaRead.c:188:10: warning: implicit declaration of function 'calmaReadStringRecord' [-Wimplicit-function-declaration] if (!calmaReadStringRecord(CALMA_LIBNAME, &libname)) goto done; ^~~~~~~~~~~~~~~~~~~~~ CalmaRead.c:207:12: warning: implicit declaration of function 'calmaParseStructure'; did you mean 'calmaParseUnits'? [-Wimplicit-function-declaration] while (calmaParseStructure(filename)) ^~~~~~~~~~~~~~~~~~~ calmaParseUnits CalmaRead.c: In function 'calmaParseUnits': CalmaRead.c:292:10: warning: implicit declaration of function 'calmaReadR8'; did you mean 'CalmaReadFile'? [-Wimplicit-function-declaration] if (!calmaReadR8(&userUnitsPerDBUnit)) return (FALSE); ^~~~~~~~~~~ CalmaReadFile CalmaRead.c:275:9: warning: variable 'nbytes' set but not used [-Wunused-but-set-variable] int nbytes, rtype; ^~~~~~ CalmaRead.c:287:2: warning: 'rtype' may be used uninitialized in this function [-Wmaybe-uninitialized] calmaUnexpected(CALMA_UNITS, rtype); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling calma/CalmaRdcl.o rm -f CalmaRdcl.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CalmaRdcl.c CalmaRdcl.c: In function 'calmaSetPosition': CalmaRdcl.c:115:9: warning: implicit declaration of function 'calmaReadStringRecord' [-Wimplicit-function-declaration] calmaReadStringRecord(CALMA_STRNAME, &strname); ^~~~~~~~~~~~~~~~~~~~~ CalmaRdcl.c:144:6: warning: implicit declaration of function 'calmaReadError'; did you mean 'CIFReadError'? [-Wimplicit-function-declaration] calmaReadError("Cell \"%s\" is used but not defined in this file.\n", sname); ^~~~~~~~~~~~~~ CIFReadError CalmaRdcl.c:97:10: warning: unused variable 'found' [-Wunused-variable] bool found = FALSE; ^~~~~ CalmaRdcl.c:93:28: warning: unused variable 'currentPos' [-Wunused-variable] off_t originalPos = 0, currentPos = 0; ^~~~~~~~~~ CalmaRdcl.c: In function 'calmaParseStructure': CalmaRdcl.c:299:10: warning: implicit declaration of function 'calmaSkipExact'; did you mean 'calmaExact'? [-Wimplicit-function-declaration] if (!calmaSkipExact(CALMA_BGNSTR)) goto syntaxerror;; ^~~~~~~~~~~~~~ calmaExact CalmaRdcl.c:380:18: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] sprintf(fpcopy, "%"DLONG_PREFIX"d", (dlong) filepos); ^~~ ~~~~~~~~~~~~~~~ CalmaRdcl.c:380:34: note: format string is defined here sprintf(fpcopy, "%"DLONG_PREFIX"d", (dlong) filepos); ~~~~~~~~~~~~~~~^ CalmaRdcl.c:385:18: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] sprintf(fpcopy, "%"DLONG_PREFIX"d", (dlong) filepos); ^~~ ~~~~~~~~~~~~~~~ CalmaRdcl.c:385:34: note: format string is defined here sprintf(fpcopy, "%"DLONG_PREFIX"d", (dlong) filepos); ~~~~~~~~~~~~~~~^ CalmaRdcl.c:440:5: warning: implicit declaration of function 'DBAdjustLabelsNew'; did you mean 'DBAdjustLabels'? [-Wimplicit-function-declaration] DBAdjustLabelsNew(cifReadCellDef, &TiPlaneRect, ^~~~~~~~~~~~~~~~~ DBAdjustLabels CalmaRdcl.c:449:2: warning: implicit declaration of function 'DRCCheckThis' [-Wimplicit-function-declaration] DRCCheckThis(cifReadCellDef, TT_CHECKPAINT, &cifReadCellDef->cd_bbox); ^~~~~~~~~~~~ CalmaRdcl.c:460:5: warning: implicit declaration of function 'DBGenerateUniqueIds' [-Wimplicit-function-declaration] DBGenerateUniqueIds(cifReadCellDef, FALSE); ^~~~~~~~~~~~~~~~~~~ CalmaRdcl.c:470:13: warning: implicit declaration of function 'calmaSkipTo'; did you mean 'calmaSkipSet'? [-Wimplicit-function-declaration] return (calmaSkipTo(CALMA_ENDSTR)); ^~~~~~~~~~~ calmaSkipSet CalmaRdcl.c:288:9: warning: unused variable 'mfactor' [-Wunused-variable] int mfactor; ^~~~~~~ CalmaRdcl.c: In function 'calmaParseElement': CalmaRdcl.c:521:6: warning: implicit declaration of function 'calmaElementBoundary'; did you mean 'calmaElementSref'? [-Wimplicit-function-declaration] calmaElementBoundary(); ^~~~~~~~~~~~~~~~~~~~ calmaElementSref CalmaRdcl.c:525:6: warning: implicit declaration of function 'calmaElementBox'; did you mean 'calmaElementSref'? [-Wimplicit-function-declaration] calmaElementBox(); ^~~~~~~~~~~~~~~ calmaElementSref CalmaRdcl.c:529:6: warning: implicit declaration of function 'calmaElementPath'; did you mean 'calmaElementSref'? [-Wimplicit-function-declaration] calmaElementPath(); ^~~~~~~~~~~~~~~~ calmaElementSref CalmaRdcl.c:533:6: warning: implicit declaration of function 'calmaElementText'; did you mean 'calmaElementSref'? [-Wimplicit-function-declaration] calmaElementText(); ^~~~~~~~~~~~~~~~ calmaElementSref CalmaRdcl.c: In function 'calmaElementSref': CalmaRdcl.c:649:3: warning: implicit declaration of function 'CIFScalePlanes'; did you mean 'CIFClearPlanes'? [-Wimplicit-function-declaration] CIFScalePlanes(scalen, scaled, cifCurReadPlanes); ^~~~~~~~~~~~~~ CIFClearPlanes CalmaRdcl.c:672:10: warning: implicit declaration of function 'calmaReadTransform'; did you mean 'CIFParseTransform'? [-Wimplicit-function-declaration] if (!calmaReadTransform(&trans, sname)) ^~~~~~~~~~~~~~~~~~ CIFParseTransform CalmaRdcl.c:690:9: warning: implicit declaration of function 'calmaSkipBytes'; did you mean 'calmaSkipSet'? [-Wimplicit-function-declaration] (void) calmaSkipBytes(nbytes - CALMAHEADERLENGTH - 4); ^~~~~~~~~~~~~~ calmaSkipSet CalmaRdcl.c:706:2: warning: implicit declaration of function 'calmaUnexpected'; did you mean 'calmaExact'? [-Wimplicit-function-declaration] calmaUnexpected(CALMA_XY, rtype); ^~~~~~~~~~~~~~~ calmaExact CalmaRdcl.c:742:2: warning: implicit declaration of function 'calmaReadPoint'; did you mean 'CalmaReadFile'? [-Wimplicit-function-declaration] calmaReadPoint(&refarray[n], 1); ^~~~~~~~~~~~~~ CalmaReadFile CalmaRdcl.c:744:20: warning: implicit declaration of function 'CIFScaleCoord' [-Wimplicit-function-declaration] refarray[n].p_x = CIFScaleCoord(refarray[n].p_x, COORD_EXACT); ^~~~~~~~~~~~~ CalmaRdcl.c:896:11: warning: unused variable 'hasUses' [-Wunused-variable] bool hasUses; ^~~~~~~ CalmaRdcl.c: In function 'gdsCopyPaintFunc': CalmaRdcl.c:973:9: warning: unused variable 'pNum' [-Wunused-variable] int pNum; ^~~~ CalmaRdcl.c: In function 'calmaElementSref': CalmaRdcl.c:884:3: warning: 'yhi' may be used uninitialized in this function [-Wmaybe-uninitialized] DBMakeArray(use, &GeoIdentityTransform, xlo, ylo, xhi, yhi, xsep, ysep); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CalmaRdcl.c:884:3: warning: 'xhi' may be used uninitialized in this function [-Wmaybe-uninitialized] In file included from CalmaRdcl.c:46:0: CalmaRdcl.c: In function 'calmaParseStructure': ../calma/calmaInt.h:205:19: warning: 'rtype' may be used uninitialized in this function [-Wmaybe-uninitialized] calmaLArtype = (rt); \ ^ CalmaRdcl.c:284:17: note: 'rtype' was declared here int nbytes, rtype, nsrefs, osrefs, npaths; ^~~~~ --- compiling calma/CalmaRdio.o rm -f CalmaRdio.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CalmaRdio.c CalmaRdio.c: In function 'calmaReadTransform': CalmaRdio.c:113:6: warning: implicit declaration of function 'calmaReadError'; did you mean 'calmaReadR8'? [-Wimplicit-function-declaration] calmaReadError("Non-integer magnification (%g) in transform\n", dmag); ^~~~~~~~~~~~~~ calmaReadR8 CalmaRdio.c:116:2: warning: implicit declaration of function 'GeoScaleTrans'; did you mean 'GeoTransTrans'? [-Wimplicit-function-declaration] GeoScaleTrans(ptrans, (int)(dmag + 0.5), &t); ^~~~~~~~~~~~~ GeoTransTrans CalmaRdio.c: In function 'calmaReadI2Record': CalmaRdio.c:215:2: warning: implicit declaration of function 'calmaUnexpected'; did you mean 'calmaSkipBytes'? [-Wimplicit-function-declaration] calmaUnexpected(type, rtype); ^~~~~~~~~~~~~~~ calmaSkipBytes CalmaRdio.c: In function 'calmaReadR8': CalmaRdio.c:358:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (isneg = (exponent & 0x80)) ^~~~~ --- compiling calma/CalmaRdpt.o rm -f CalmaRdpt.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CalmaRdpt.c CalmaRdpt.c: In function 'calmaInputRescale': CalmaRdpt.c:101:6: warning: implicit declaration of function 'CIFScalePlanes'; did you mean 'CIFClearPlanes'? [-Wimplicit-function-declaration] CIFScalePlanes(n, d, gdsplanes); ^~~~~~~~~~~~~~ CIFClearPlanes CalmaRdpt.c:105:5: warning: implicit declaration of function 'CIFInputRescale'; did you mean 'calmaInputRescale'? [-Wimplicit-function-declaration] CIFInputRescale(n, d); ^~~~~~~~~~~~~~~ calmaInputRescale CalmaRdpt.c: In function 'calmaReadPoint': CalmaRdpt.c:143:30: warning: implicit declaration of function 'FindGCF' [-Wimplicit-function-declaration] rescale = calmaReadScale2 / FindGCF(calmaReadScale2, abs(p->p_x)); ^~~~~~~ CalmaRdpt.c:146:6: warning: implicit declaration of function 'calmaReadError'; did you mean 'calmaReadPoint'? [-Wimplicit-function-declaration] calmaReadError("Warning: calma units at max scale; value rounded\n"); ^~~~~~~~~~~~~~ calmaReadPoint CalmaRdpt.c: In function 'calmaElementBoundary': CalmaRdpt.c:216:10: warning: implicit declaration of function 'calmaReadI2Record'; did you mean 'calmaReadPoint'? [-Wimplicit-function-declaration] if (!calmaReadI2Record(CALMA_LAYER, &layer) ^~~~~~~~~~~~~~~~~ calmaReadPoint CalmaRdpt.c:224:15: warning: implicit declaration of function 'CIFCalmaLayerToCifLayer' [-Wimplicit-function-declaration] ciftype = CIFCalmaLayerToCifLayer(layer, dt, cifCurReadStyle); ^~~~~~~~~~~~~~~~~~~~~~~ CalmaRdpt.c:275:5: warning: implicit declaration of function 'CIFPropRecordPath'; did you mean 'CIFFreePath'? [-Wimplicit-function-declaration] CIFPropRecordPath(cifReadCellDef, pathheadp, FALSE); ^~~~~~~~~~~~~~~~~ CIFFreePath CalmaRdpt.c:291:2: warning: implicit declaration of function 'DRCCheckThis' [-Wimplicit-function-declaration] DRCCheckThis(cifReadCellDef, TT_CHECKPAINT, &cifReadCellDef->cd_bbox); ^~~~~~~~~~~~ CalmaRdpt.c:295:2: warning: implicit declaration of function 'DBGenerateUniqueIds' [-Wimplicit-function-declaration] DBGenerateUniqueIds(cifReadCellDef, FALSE); /* Is this necessary? */ ^~~~~~~~~~~~~~~~~~~ CalmaRdpt.c: In function 'calmaElementBox': CalmaRdpt.c:372:2: warning: implicit declaration of function 'calmaUnexpected' [-Wimplicit-function-declaration] calmaUnexpected(CALMA_XY, rtype); ^~~~~~~~~~~~~~~ CalmaRdpt.c:381:9: warning: implicit declaration of function 'calmaSkipBytes'; did you mean 'calmaSkipSet'? [-Wimplicit-function-declaration] (void) calmaSkipBytes(nbytes - CALMAHEADERLENGTH); ^~~~~~~~~~~~~~ calmaSkipSet CalmaRdpt.c: In function 'calmaElementPath': CalmaRdpt.c:463:7: warning: implicit declaration of function 'calmaReadI4Record'; did you mean 'calmaReadPoint'? [-Wimplicit-function-declaration] if (!calmaReadI4Record(CALMA_WIDTH, &width)) ^~~~~~~~~~~~~~~~~ calmaReadPoint CalmaRdpt.c:610:2: warning: implicit declaration of function 'CIFPaintWirePath'; did you mean 'CIFParsePath'? [-Wimplicit-function-declaration] CIFPaintWirePath(pathheadp, width, ^~~~~~~~~~~~~~~~ CIFParsePath CalmaRdpt.c:431:15: warning: unused variable 'last' [-Wunused-variable] int first,last; ^~~~ CalmaRdpt.c:431:9: warning: unused variable 'first' [-Wunused-variable] int first,last; ^~~~~ CalmaRdpt.c:429:10: warning: unused variable 'segment' [-Wunused-variable] Rect segment; ^~~~~~~ CalmaRdpt.c:428:34: warning: unused variable 'previousp' [-Wunused-variable] CIFPath *pathheadp, *pathp, *previousp; ^~~~~~~~~ CalmaRdpt.c:427:33: warning: unused variable 'temp' [-Wunused-variable] int xmin, ymin, xmax, ymax, temp; ^~~~ CalmaRdpt.c:427:27: warning: unused variable 'ymax' [-Wunused-variable] int xmin, ymin, xmax, ymax, temp; ^~~~ CalmaRdpt.c:427:21: warning: unused variable 'xmax' [-Wunused-variable] int xmin, ymin, xmax, ymax, temp; ^~~~ CalmaRdpt.c:427:15: warning: unused variable 'ymin' [-Wunused-variable] int xmin, ymin, xmax, ymax, temp; ^~~~ CalmaRdpt.c:427:9: warning: unused variable 'xmin' [-Wunused-variable] int xmin, ymin, xmax, ymax, temp; ^~~~ CalmaRdpt.c: In function 'calmaElementText': CalmaRdpt.c:741:6: warning: implicit declaration of function 'calmaReadR8'; did you mean 'calmaReadPath'? [-Wimplicit-function-declaration] calmaReadR8(&dval); ^~~~~~~~~~~ calmaReadPath CalmaRdpt.c:787:10: warning: implicit declaration of function 'calmaReadStringRecord'; did you mean 'calmaReadPoint'? [-Wimplicit-function-declaration] if (!calmaReadStringRecord(CALMA_STRING, &textbody)) return; ^~~~~~~~~~~~~~~~~~~~~ calmaReadPoint CalmaRdpt.c: In function 'calmaElementBoundary': CalmaRdpt.c:298:17: warning: 'savedef' may be used uninitialized in this function [-Wmaybe-uninitialized] cifReadCellDef = savedef; ~~~~~~~~~~~~~~~^~~~~~~~~ In file included from CalmaRdpt.c:48:0: CalmaRdpt.c: In function 'calmaElementPath': ../calma/calmaInt.h:205:19: warning: 'rtype' may be used uninitialized in this function [-Wmaybe-uninitialized] calmaLArtype = (rt); \ ^ CalmaRdpt.c:425:17: note: 'rtype' was declared here int nbytes, rtype, extend1, extend2; ^~~~~ CalmaRdpt.c:625:21: warning: 'savedef' may be used uninitialized in this function [-Wmaybe-uninitialized] cifReadCellDef = savedef; ~~~~~~~~~~~~~~~^~~~~~~~~ In file included from CalmaRdpt.c:48:0: CalmaRdpt.c: In function 'calmaElementText': ../calma/calmaInt.h:205:19: warning: 'rtype' may be used uninitialized in this function [-Wmaybe-uninitialized] calmaLArtype = (rt); \ ^ CalmaRdpt.c:655:17: note: 'rtype' was declared here int nbytes, rtype; ^~~~~ --- compiling calma/CalmaWrite.o rm -f CalmaWrite.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CalmaWrite.c CalmaWrite.c: In function 'CalmaWrite': CalmaWrite.c:321:12: warning: implicit declaration of function 'calmaProcessDef'; did you mean 'calmaProcessBoundary'? [-Wimplicit-function-declaration] (void) calmaProcessDef(rootDef, f); ^~~~~~~~~~~~~~~ calmaProcessBoundary CalmaWrite.c:173:10: warning: implicit declaration of function 'htons' [-Wimplicit-function-declaration] u.u_s = htons(n); \ ^ CalmaWrite.c:161:7: note: in expansion of macro 'calmaOutI2' { calmaOutI2(count, f); (void) putc(type, f); (void) putc(datatype, f); } ^~~~~~~~~~ CalmaWrite.c:324:5: note: in expansion of macro 'calmaOutRH' calmaOutRH(4, CALMA_ENDLIB, CALMA_NODATA, f); ^~~~~~~~~~ CalmaWrite.c:329:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (problems = (DBWFeedbackCount - oldCount)) ^~~~~~~~ CalmaWrite.c: In function 'calmaProcessDef': CalmaWrite.c:472:21: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'dlong * {aka long int *}' [-Wformat=] sscanf(offptr, "%"DLONG_PREFIX"d", &cval); ^~~ ~~~~~ CalmaWrite.c:472:37: note: format string is defined here sscanf(offptr, "%"DLONG_PREFIX"d", &cval); ~~~~~~~~~~~~~~~^ CalmaWrite.c:491:21: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'dlong * {aka long int *}' [-Wformat=] sscanf(offptr, "%"DLONG_PREFIX"d", &cval); ^~~ ~~~~~ CalmaWrite.c:491:37: note: format string is defined here sscanf(offptr, "%"DLONG_PREFIX"d", &cval); ~~~~~~~~~~~~~~~^ CalmaWrite.c: In function 'calmaWriteUseFunc': CalmaWrite.c:187:10: warning: implicit declaration of function 'htonl' [-Wimplicit-function-declaration] u.u_i = htonl(n); \ ^ CalmaWrite.c:816:3: note: in expansion of macro 'calmaOutI4' calmaOutI4(xxlate, f); ^~~~~~~~~~ CalmaWrite.c: In function 'calmaOutStructName': CalmaWrite.c:954:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (cp = def->cd_name; c = (unsigned char) *cp; cp++) ^ CalmaWrite.c: In function 'calmaWriteContacts': CalmaWrite.c:1169:17: warning: implicit declaration of function 'CIFGetContactSize'; did you mean 'CIFGetDefaultContactSize'? [-Wimplicit-function-declaration] halfsize = CIFGetContactSize(type, NULL, NULL, NULL) >> 1; ^~~~~~~~~~~~~~~~~ CIFGetDefaultContactSize CalmaWrite.c:1179:13: warning: implicit declaration of function 'UndoDisable' [-Wimplicit-function-declaration] UndoDisable(); ^~~~~~~~~~~ CalmaWrite.c:1189:13: warning: implicit declaration of function 'UndoEnable' [-Wimplicit-function-declaration] UndoEnable(); ^~~~~~~~~~ CalmaWrite.c:1135:12: warning: unused variable 'op' [-Wunused-variable] CIFOp *op; ^~ CalmaWrite.c:1132:20: warning: unused variable 'cellDef' [-Wunused-variable] CellDef *def, *cellDef; ^~~~~~~ CalmaWrite.c: In function 'calmaRemoveColinear': CalmaWrite.c:1425:13: warning: implicit declaration of function 'FindGCF' [-Wimplicit-function-declaration] gcf = FindGCF(delx1, dely1); ^~~~~~~ CalmaWrite.c: In function 'calmaProcessBoundary': CalmaWrite.c:1574:9: warning: unused variable 'sval' [-Wunused-variable] int sval; ^~~~ CalmaWrite.c:1572:48: warning: unused variable 'lbfree' [-Wunused-variable] LinkedBoundary *listtop, *lbref, *lbstop, *lbfree; ^~~~~~ CalmaWrite.c: In function 'calmaMergePaintFunc': CalmaWrite.c:1682:11: warning: unused variable 'clipArea' [-Wunused-variable] Rect *clipArea = cos->area; ^~~~~~~~ CalmaWrite.c:1681:11: warning: unused variable 'f' [-Wunused-variable] FILE *f = cos->f; ^ CalmaWrite.c: In function 'calmaWritePaintFunc': CalmaWrite.c:2006:13: warning: unused variable 'r2' [-Wunused-variable] Rect r, r2; ^~ --- linking libcalma.o rm -f libcalma.o ld -r CalmaRead.o CalmaRdcl.o CalmaRdio.o CalmaRdpt.o CalmaWrite.o -o libcalma.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/calma' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/cif' --- compiling cif/CIFgen.o rm -f CIFgen.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CIFgen.c CIFgen.c: In function 'cifGrowGridFunc': CIFgen.c:142:14: warning: unused variable 'oldType' [-Wunused-variable] TileType oldType = TiGetType(tile); ^~~~~~~ CIFgen.c:139:9: warning: unused variable 'remainder' [-Wunused-variable] int remainder; ^~~~~~~~~ CIFgen.c: In function 'cifBloatAllFunc': CIFgen.c:883:14: warning: unused variable 'type' [-Wunused-variable] TileType type; ^~~~ CIFgen.c: In function 'cifRectBoundingBox': CIFgen.c:1235:14: warning: unused variable 'type' [-Wunused-variable] TileType type; ^~~~ CIFgen.c:1234:15: warning: unused variable 'savecount' [-Wunused-variable] int i, j, savecount; ^~~~~~~~~ CIFgen.c:1234:12: warning: unused variable 'j' [-Wunused-variable] int i, j, savecount; ^ CIFgen.c:1234:9: warning: unused variable 'i' [-Wunused-variable] int i, j, savecount; ^ CIFgen.c: In function 'cifSquaresFillArea': CIFgen.c:1457:6: warning: implicit declaration of function 'cifSquareFunc'; did you mean 'cifSquaresInitFunc'? [-Wimplicit-function-declaration] cifSquareFunc(&stripLess, op, &nUp, &nAcross, &llcut); ^~~~~~~~~~~~~ cifSquaresInitFunc CIFgen.c:1459:6: warning: implicit declaration of function 'cifSquareGridFunc'; did you mean 'cifSquaresStripFunc'? [-Wimplicit-function-declaration] cifSquareGridFunc(&stripLess, op, &nUp, &nAcross, &llcut); ^~~~~~~~~~~~~~~~~ cifSquaresStripFunc CIFgen.c:1399:14: warning: unused variable 'type' [-Wunused-variable] TileType type; ^~~~ CIFgen.c:1397:48: warning: unused variable 'right' [-Wunused-variable] int nAcross, nUp, left, pitch, size, diff, right; ^~~~~ CIFgen.c:1397:23: warning: unused variable 'left' [-Wunused-variable] int nAcross, nUp, left, pitch, size, diff, right; ^~~~ CIFgen.c: In function 'cifSlotsFillArea': CIFgen.c:1793:2: warning: implicit declaration of function 'cifSlotFunc'; did you mean 'cifBloatFunc'? [-Wimplicit-function-declaration] cifSlotFunc(&stripLess, op, &nUp, &nAcross, &llcut, stripList->vertical); ^~~~~~~~~~~ cifBloatFunc CIFgen.c:1730:14: warning: unused variable 'type' [-Wunused-variable] TileType type; ^~~~ CIFgen.c:1727:15: warning: unused variable 'right' [-Wunused-variable] int diff, right; ^~~~~ CIFgen.c:1726:52: warning: variable 'lsize' set but not used [-Wunused-but-set-variable] int nAcross, nUp, left, spitch, lpitch, ssize, lsize; ^~~~~ CIFgen.c:1726:23: warning: unused variable 'left' [-Wunused-variable] int nAcross, nUp, left, spitch, lpitch, ssize, lsize; ^~~~ CIFgen.c: In function 'cifContactFunc': CIFgen.c:2282:21: warning: unused variable 'j' [-Wunused-variable] int i, nAcross, j, nUp, left, bottom, pitch, halfsize; ^ CIFgen.c:2282:9: warning: unused variable 'i' [-Wunused-variable] int i, nAcross, j, nUp, left, bottom, pitch, halfsize; ^ CIFgen.c: In function 'cifSlotFunc': CIFgen.c:2356:12: warning: unused variable 'j' [-Wunused-variable] int i, j, xpitch, ypitch, delta; ^ CIFgen.c:2356:9: warning: unused variable 'i' [-Wunused-variable] int i, j, xpitch, ypitch, delta; ^ CIFgen.c: In function 'CIFGenLayer': CIFgen.c:3025:7: warning: implicit declaration of function 'UndoDisable' [-Wimplicit-function-declaration] UndoDisable(); ^~~~~~~~~~~ CIFgen.c:3035:7: warning: implicit declaration of function 'UndoEnable' [-Wimplicit-function-declaration] UndoEnable(); ^~~~~~~~~~ CIFgen.c:2781:12: warning: unused variable 'tempOp' [-Wunused-variable] CIFOp *tempOp; ^~~~~~ In file included from CIFgen.c:32:0: CIFgen.c: In function 'CIFGen': ../database/database.h:697:38: warning: implicit declaration of function 'DBMergeNMTiles0'; did you mean 'DBMergeNMTiles'? [-Wimplicit-function-declaration] #define DBMergeNMTiles(a, b, c) DBMergeNMTiles0(a, b, c, FALSE) ^ CIFgen.c:3153:25: note: in expansion of macro 'DBMergeNMTiles' if (CIFUnfracture) DBMergeNMTiles(new[i], &expanded, ^~~~~~~~~~~~~~ CIFgen.c: In function 'cifBloatFunc': CIFgen.c:832:48: warning: 'bottomRightType' may be used uninitialized in this function [-Wmaybe-uninitialized] bloat.r_xtop = cifArea.r_xtop + bloatTable[bottomRightType]; ^ CIFgen.c:747:48: warning: 'topLeftType' may be used uninitialized in this function [-Wmaybe-uninitialized] bloat.r_xbot = cifArea.r_xbot - bloatTable[topLeftType]; ^ --- compiling cif/CIFhier.o rm -f CIFhier.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CIFhier.c CIFhier.c: In function 'cifHierCheckFunc': CIFhier.c:404:9: warning: implicit declaration of function 'DBSrPaintNMArea'; did you mean 'DBSrPaintArea'? [-Wimplicit-function-declaration] DBSrPaintNMArea((Tile *)NULL, plane, TiGetTypeExact(tile), ^~~~~~~~~~~~~~~ DBSrPaintArea CIFhier.c: In function 'cifHierPaintFunc': CIFhier.c:447:51: warning: implicit declaration of function 'cifGrowSliver' [-Wimplicit-function-declaration] if (CIFCurStyle->cs_flags & CWF_GROW_SLIVERS) cifGrowSliver(tile, &area); ^~~~~~~~~~~~~ CIFhier.c: In function 'CIFGenSubcells': CIFhier.c:587:13: warning: implicit declaration of function 'DBCellSrArea'; did you mean 'DBCellSrDefs'? [-Wimplicit-function-declaration] (void) DBCellSrArea(&scx, cifHierCellFunc, (ClientData) NULL); ^~~~~~~~~~~~ DBCellSrDefs --- compiling cif/CIFmain.o rm -f CIFmain.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CIFmain.c --- compiling cif/CIFrdcl.o rm -f CIFrdcl.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CIFrdcl.c CIFrdcl.c: In function 'cifFindCell': CIFrdcl.c:264:9: warning: unused variable 'reused' [-Wunused-variable] int reused; ^~~~~~ CIFrdcl.c:263:20: warning: unused variable 'testdef' [-Wunused-variable] CellDef *def, *testdef; ^~~~~~~ CIFrdcl.c: In function 'CIFScalePlanes': CIFrdcl.c:316:6: warning: implicit declaration of function 'dbScalePlane'; did you mean 'CIFScalePlanes'? [-Wimplicit-function-declaration] dbScalePlane(planearray[pNum], newplane, pNum, ^~~~~~~~~~~~ CIFScalePlanes CIFrdcl.c: In function 'cifCopyPaintFunc': CIFrdcl.c:517:9: warning: unused variable 'pNum' [-Wunused-variable] int pNum; ^~~~ CIFrdcl.c: In function 'CIFPaintCurrent': CIFrdcl.c:600:17: warning: unused variable 'cifReadLayers' [-Wunused-variable] extern char *(cifReadLayers[MAXCIFRLAYERS]); ^~~~~~~~~~~~~ CIFrdcl.c: In function 'cifPaintCurrentFunc': CIFrdcl.c:690:19: warning: implicit declaration of function 'CIFScaleCoord'; did you mean 'CIFScalePlanes'? [-Wimplicit-function-declaration] area.r_xtop = CIFScaleCoord(area.r_xtop, snap_type); ^~~~~~~~~~~~~ CIFScalePlanes CIFrdcl.c: In function 'CIFReadCellCleanup': CIFrdcl.c:1285:6: warning: implicit declaration of function 'calmaReadError'; did you mean 'CIFReadError'? [-Wimplicit-function-declaration] calmaReadError("GDS ended partway through a symbol definition.\n"); ^~~~~~~~~~~~~~ CIFReadError CIFrdcl.c:1277:16: warning: unused variable 'window' [-Wunused-variable] MagWindow *window; ^~~~~~ --- compiling cif/CIFrdpt.o rm -f CIFrdpt.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CIFrdpt.c CIFrdpt.c: In function 'CIFPropRecordPath': CIFrdpt.c:237:1: warning: type of 'iswire' defaults to 'int' [-Wimplicit-int] CIFPropRecordPath(def, pathheadp, iswire) ^~~~~~~~~~~~~~~~~ CIFrdpt.c:275:5: warning: implicit declaration of function 'StrDup'; did you mean 'strdup'? [-Wimplicit-function-declaration] StrDup(&pathstr, pathstr); ^~~~~~ strdup CIFrdpt.c: In function 'CIFPaintWirePath': CIFrdpt.c:438:3: warning: implicit declaration of function 'TxError'; did you mean 'CIFError'? [-Wimplicit-function-declaration] TxError("Warning: direction reversal in path.\n"); ^~~~~~~ CIFError CIFrdpt.c:494:12: warning: unused variable 'newpt' [-Wunused-variable] Point newpt; ^~~~~ CIFrdpt.c:492:11: warning: unused variable 'r' [-Wunused-variable] Rect r; ^ CIFrdpt.c:326:46: warning: unused variable 'adjwidth' [-Wunused-variable] double theta, phi, alpha, delta, cwidth, adjwidth, testmitre, savetheta; ^~~~~~~~ CIFrdpt.c: In function 'CIFParseWire': CIFrdpt.c:663:26: warning: unused variable 'polypath' [-Wunused-variable] CIFPath *pathheadp, *polypath; ^~~~~~~~ --- compiling cif/CIFrdpoly.o rm -f CIFrdpoly.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CIFrdpoly.c CIFrdpoly.c: In function 'CIFPolyToRects': CIFrdpoly.c:249:5: warning: implicit declaration of function 'CIFMakeManhattanPath'; did you mean 'CIFCleanPath'? [-Wimplicit-function-declaration] CIFMakeManhattanPath(path, plane, resultTbl, ui); ^~~~~~~~~~~~~~~~~~~~ CIFCleanPath CIFrdpoly.c:272:5: warning: implicit declaration of function 'qsort' [-Wimplicit-function-declaration] qsort ((char *) pts, npts, (int) sizeof (Point *), cifLowY); ^~~~~ --- compiling cif/CIFrdtech.o rm -f CIFrdtech.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CIFrdtech.c CIFrdtech.c: In function 'CIFCalmaLayerToCifLayer': CIFrdtech.c:206:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (he = HashLookOnly(&(calmaStyle->cifCalmaToCif), (char *) &clt)) ^~ CIFrdtech.c:211:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (he = HashLookOnly(&(calmaStyle->cifCalmaToCif), (char *) &clt)) ^~ CIFrdtech.c:217:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (he = HashLookOnly(&(calmaStyle->cifCalmaToCif), (char *) &clt)) ^~ CIFrdtech.c:223:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (he = HashLookOnly(&(calmaStyle->cifCalmaToCif), (char *) &clt)) ^~ CIFrdtech.c: In function 'CIFReadTechLine': CIFrdtech.c:613:37: warning: implicit declaration of function 'CIFParseScale'; did you mean 'CIFParseCall'? [-Wimplicit-function-declaration] cifCurReadStyle->crs_scaleFactor = CIFParseScale(argv[1], ^~~~~~~~~~~~~ CIFParseCall CIFrdtech.c:814:17: warning: implicit declaration of function 'cifParseCalmaNums' [-Wimplicit-function-declaration] nCalmaLayers = cifParseCalmaNums(argv[2], calmaLayers, CALMA_LAYER_MAX); ^~~~~~~~~~~~~~~~~ CIFrdtech.c: In function 'CIFReadTechFinal': CIFrdtech.c:1031:5: warning: implicit declaration of function 'CIFTechInputScale'; did you mean 'CIFReadTechLimitScale'? [-Wimplicit-function-declaration] CIFTechInputScale(1, 1, TRUE); ^~~~~~~~~~~~~~~~~ CIFReadTechLimitScale CIFrdtech.c: In function 'CIFReadLoadStyle': CIFrdtech.c:1066:15: warning: implicit declaration of function 'TechSectionGetMask'; did you mean 'SelectionRequest'? [-Wimplicit-function-declaration] invcifr = TechSectionGetMask("cifinput", NULL); ^~~~~~~~~~~~~~~~~~ SelectionRequest CIFrdtech.c:1067:5: warning: implicit declaration of function 'TechLoad' [-Wimplicit-function-declaration] TechLoad(NULL, invcifr); ^~~~~~~~ CIFrdtech.c: In function 'CIFTechInputScale': CIFrdtech.c:1345:10: warning: implicit declaration of function 'FindGCF' [-Wimplicit-function-declaration] lgcf = FindGCF(abs(op->co_distance), istyle->crs_multiplier); ^~~~~~~ --- compiling cif/CIFrdutils.o rm -f CIFrdutils.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CIFrdutils.c In file included from CIFrdutils.c:38:0: CIFrdutils.c: In function 'CIFReadError': ../textio/textio.h:52:18: warning: implicit declaration of function 'Tcl_printf'; did you mean 'TxReprint'? [-Wimplicit-function-declaration] #define Vfprintf Tcl_printf ^ CIFrdutils.c:125:2: note: in expansion of macro 'Vfprintf' Vfprintf(stderr, format, args); ^~~~~~~~ CIFrdutils.c: In function 'CIFScaleCoord': CIFrdutils.c:205:13: warning: implicit declaration of function 'FindGCF' [-Wimplicit-function-declaration] int lgcf = FindGCF(abs(cifCoord), scale); ^~~~~~~ CIFrdutils.c:210:6: warning: implicit declaration of function 'CIFReadTechLimitScale'; did you mean 'CIFTechLimitScale'? [-Wimplicit-function-declaration] if (CIFReadTechLimitScale(1, denom)) snap_type = COORD_ANY; ^~~~~~~~~~~~~~~~~~~~~ CIFTechLimitScale CIFrdutils.c:220:3: warning: implicit declaration of function 'DRCTechScale' [-Wimplicit-function-declaration] DRCTechScale(1, denom); ^~~~~~~~~~~~ CIFrdutils.c:221:3: warning: implicit declaration of function 'PlowAfterTech' [-Wimplicit-function-declaration] PlowAfterTech(); ^~~~~~~~~~~~~ CIFrdutils.c:222:3: warning: implicit declaration of function 'ExtTechScale' [-Wimplicit-function-declaration] ExtTechScale(1, denom); ^~~~~~~~~~~~ CIFrdutils.c:223:3: warning: implicit declaration of function 'WireTechScale' [-Wimplicit-function-declaration] WireTechScale(1, denom); ^~~~~~~~~~~~~ CIFrdutils.c:225:3: warning: implicit declaration of function 'LefTechScale' [-Wimplicit-function-declaration] LefTechScale(1, denom); ^~~~~~~~~~~~ CIFrdutils.c:228:3: warning: implicit declaration of function 'RtrTechScale' [-Wimplicit-function-declaration] RtrTechScale(1, denom); ^~~~~~~~~~~~ CIFrdutils.c:229:3: warning: implicit declaration of function 'MZAfterTech' [-Wimplicit-function-declaration] MZAfterTech(); ^~~~~~~~~~~ CIFrdutils.c:230:3: warning: implicit declaration of function 'IRAfterTech' [-Wimplicit-function-declaration] IRAfterTech(); ^~~~~~~~~~~ CIFrdutils.c:232:3: warning: implicit declaration of function 'DBScaleEverything' [-Wimplicit-function-declaration] DBScaleEverything(denom, 1); ^~~~~~~~~~~~~~~~~ CIFrdutils.c:234:3: warning: implicit declaration of function 'ReduceFraction' [-Wimplicit-function-declaration] ReduceFraction(&DBLambda[0], &DBLambda[1]); ^~~~~~~~~~~~~~ CIFrdutils.c:190:15: warning: unused variable 'mfactor' [-Wunused-variable] int mult, mfactor; ^~~~~~~ CIFrdutils.c:190:9: warning: variable 'mult' set but not used [-Wunused-but-set-variable] int mult, mfactor; ^~~~ CIFrdutils.c: In function 'CIFParsePoint': CIFrdutils.c:582:6: warning: implicit declaration of function 'CIFInputRescale'; did you mean 'CIFGetInputScale'? [-Wimplicit-function-declaration] CIFInputRescale(rescale, 1); ^~~~~~~~~~~~~~~ CIFGetInputScale CIFrdutils.c: In function 'CIFParsePath': CIFrdutils.c:647:10: warning: variable 'nonManhattan' set but not used [-Wunused-but-set-variable] bool nonManhattan = FALSE; /* diagnostic only */ ^~~~~~~~~~~~ CIFrdutils.c: In function 'test_insideness': CIFrdutils.c:730:5: warning: implicit declaration of function 'GeoCanonicalRect'; did you mean 'GeoTransRect'? [-Wimplicit-function-declaration] GeoCanonicalRect(&tmprect, &irect); ^~~~~~~~~~~~~~~~ GeoTransRect CIFrdutils.c: In function 'CIFMakeManhattanPath': CIFrdutils.c:1065:9: warning: implicit declaration of function 'CIFEdgeDirection'; did you mean 'SplitDirection'? [-Wimplicit-function-declaration] edir = CIFEdgeDirection(first, last); ^~~~~~~~~~~~~~~~ SplitDirection CIFrdutils.c:1028:37: warning: unused variable 'y' [-Wunused-variable] int yinit, ydiff, yincr, ylast, y; ^ CIFrdutils.c:1028:30: warning: unused variable 'ylast' [-Wunused-variable] int yinit, ydiff, yincr, ylast, y; ^~~~~ CIFrdutils.c:1028:23: warning: unused variable 'yincr' [-Wunused-variable] int yinit, ydiff, yincr, ylast, y; ^~~~~ CIFrdutils.c:1028:16: warning: unused variable 'ydiff' [-Wunused-variable] int yinit, ydiff, yincr, ylast, y; ^~~~~ CIFrdutils.c:1028:9: warning: unused variable 'yinit' [-Wunused-variable] int yinit, ydiff, yincr, ylast, y; ^~~~~ CIFrdutils.c:1027:37: warning: unused variable 'x' [-Wunused-variable] int xinit, xdiff, xincr, xlast, x; ^ CIFrdutils.c:1027:30: warning: unused variable 'xlast' [-Wunused-variable] int xinit, xdiff, xincr, xlast, x; ^~~~~ CIFrdutils.c:1027:23: warning: unused variable 'xincr' [-Wunused-variable] int xinit, xdiff, xincr, xlast, x; ^~~~~ CIFrdutils.c:1027:16: warning: unused variable 'xdiff' [-Wunused-variable] int xinit, xdiff, xincr, xlast, x; ^~~~~ CIFrdutils.c:1027:9: warning: unused variable 'xinit' [-Wunused-variable] int xinit, xdiff, xincr, xlast, x; ^~~~~ CIFrdutils.c: In function 'CIFCleanPath': CIFrdutils.c:1222:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (next = path->cifp_next) ^~~~ CIFrdutils.c:1205:35: warning: unused variable 'last' [-Wunused-variable] CIFPath *next, *path, *prev, *last; ^~~~ CIFrdutils.c: In function 'CIFScaleCoord': CIFrdutils.c:296:12: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] return result; ^~~~~~ --- compiling cif/CIFsee.o rm -f CIFsee.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CIFsee.c CIFsee.c: In function 'CIFPaintLayer': CIFsee.c:187:5: warning: implicit declaration of function 'DRCCheckThis' [-Wimplicit-function-declaration] DRCCheckThis(rootDef, TT_CHECKPAINT, area); ^~~~~~~~~~~~ CIFsee.c:141:10: warning: unused variable 'msg' [-Wunused-variable] char msg[100]; ^~~ --- compiling cif/CIFtech.o rm -f CIFtech.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CIFtech.c CIFtech.c: In function 'cifParseLayers': CIFtech.c:254:18: warning: implicit declaration of function 'DBTechNameTypes'; did you mean 'DBTechNameType'? [-Wimplicit-function-declaration] paintType = DBTechNameTypes(curLayer, &curPaintMask); ^~~~~~~~~~~~~~~ DBTechNameType CIFtech.c:225:29: warning: unused variable 'cp' [-Wunused-variable] char curLayer[40], *p, *cp; ^~ CIFtech.c: In function 'CIFTechStyleInit': CIFtech.c:388:5: warning: implicit declaration of function 'CalmaTechInit'; did you mean 'CIFTechInit'? [-Wimplicit-function-declaration] CalmaTechInit(); ^~~~~~~~~~~~~ CIFTechInit CIFtech.c: In function 'CIFParseScale': CIFtech.c:491:2: warning: implicit declaration of function 'ReduceFraction' [-Wimplicit-function-declaration] ReduceFraction(&n, &d); ^~~~~~~~~~~~~~ CIFtech.c: In function 'CIFTechLine': CIFtech.c:921:10: warning: implicit declaration of function 'DBWTechParseStyle'; did you mean 'cifTechFreeStyle'? [-Wimplicit-function-declaration] style = DBWTechParseStyle(argv[2]); ^~~~~~~~~~~~~~~~~ cifTechFreeStyle CIFtech.c: In function 'CIFTechFinal': CIFtech.c:1642:7: warning: implicit declaration of function 'FindGCF' [-Wimplicit-function-declaration] c = FindGCF(style->cs_scaleFactor, op->co_distance); ^~~~~~~ CIFtech.c: In function 'CIFLoadStyle': CIFtech.c:1904:14: warning: implicit declaration of function 'TechSectionGetMask' [-Wimplicit-function-declaration] invcif = TechSectionGetMask("cifoutput", NULL); ^~~~~~~~~~~~~~~~~~ CIFtech.c:1905:5: warning: implicit declaration of function 'TechLoad' [-Wimplicit-function-declaration] TechLoad(NULL, invcif); ^~~~~~~~ CIFtech.c: In function 'CIFTechOutputScale': CIFtech.c:2219:5: warning: implicit declaration of function 'drcCifScale' [-Wimplicit-function-declaration] drcCifScale(d, 1); ^~~~~~~~~~~ CIFtech.c:2249:7: warning: unused variable 'nlayers' [-Wunused-variable] int nlayers; ^~~~~~~ CIFtech.c: In function 'CIFTechFinal': CIFtech.c:1716:7: warning: 'bvalue' may be used uninitialized in this function [-Wmaybe-uninitialized] if (bvalue != 0) ^ --- compiling cif/CIFwrite.o rm -f CIFwrite.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c CIFwrite.c CIFwrite.c: In function 'cifOutPreamble': CIFwrite.c:257:16: warning: variable 'clock' set but not used [-Wunused-but-set-variable] struct tm *clock; ^~~~~ CIFwrite.c: In function 'CIFWriteFlat': CIFwrite.c:654:21: warning: unused variable 'cifMask' [-Wunused-variable] TileTypeBitMask cifMask; ^~~~~~~ --- linking libcif.o rm -f libcif.o ld -r CIFgen.o CIFhier.o CIFmain.o CIFrdcl.o CIFrdpt.o CIFrdpoly.o CIFrdtech.o CIFrdutils.o CIFsee.o CIFtech.o CIFwrite.o -o libcif.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/cif' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/plot' --- compiling plot/plotCmd.o rm -f plotCmd.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c plotCmd.c plotCmd.c: In function 'CmdPlot': plotCmd.c:131:6: warning: implicit declaration of function 'TxError'; did you mean 'perror'? [-Wimplicit-function-declaration] TxError("\"%s\" isn't a valid plot option.\n", cmd->tx_argv[1]); ^~~~~~~ perror plotCmd.c:193:6: warning: implicit declaration of function 'PlotPS'; did you mean 'Plow'? [-Wimplicit-function-declaration] PlotPS(cmd->tx_argv[2], &scx, &mask, crec->dbw_bitmask); ^~~~~~ Plow plotCmd.c:214:6: warning: implicit declaration of function 'TxPrintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] TxPrintf("The \"plot\" commands are:\n"); ^~~~~~~~ dprintf plotCmd.c:223:3: warning: implicit declaration of function 'PlotPrintParams' [-Wimplicit-function-declaration] PlotPrintParams(); ^~~~~~~~~~~~~~~ plotCmd.c:225:3: warning: implicit declaration of function 'PlotSetParam' [-Wimplicit-function-declaration] PlotSetParam(cmd->tx_argv[2], cmd->tx_argv[3]); ^~~~~~~~~~~~ plotCmd.c:249:6: warning: implicit declaration of function 'PlotVersatec'; did you mean 'PlotNewRaster'? [-Wimplicit-function-declaration] PlotVersatec( &scx, &mask, crec->dbw_bitmask, scale); ^~~~~~~~~~~~ PlotNewRaster plotCmd.c:289:3: warning: implicit declaration of function 'PlotPNM' [-Wimplicit-function-declaration] PlotPNM(NULL, &scx, &mask, crec->dbw_bitmask, iwidth); ^~~~~~~ plotCmd.c:94:11: warning: unused variable 'width' [-Wunused-variable] float width; ^~~~~ plotCmd.c:249:6: warning: 'crec' may be used uninitialized in this function [-Wmaybe-uninitialized] PlotVersatec( &scx, &mask, crec->dbw_bitmask, scale); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling plot/plotGremln.o rm -f plotGremln.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c plotGremln.c --- compiling plot/plotHP.o rm -f plotHP.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c plotHP.c plotHP.c: In function 'PlotDumpHPRTL': plotHP.c:321:8: warning: operation on 'c' may be undefined [-Wsequence-point] *c++ = (*c | *k); ~^~ plotHP.c:322:8: warning: operation on 'm' may be undefined [-Wsequence-point] *m++ = (*m | *k); ~^~ plotHP.c:323:8: warning: operation on 'y' may be undefined [-Wsequence-point] *y++ = (*y | *k); ~^~ plotHP.c:345:2: warning: implicit declaration of function 'TxError'; did you mean 'perror'? [-Wimplicit-function-declaration] TxError("I/O error in writing HPRTL file: %s.\n", strerror(errno)); ^~~~~~~ perror plotHP.c:299:22: warning: unused variable 'line_offset' [-Wunused-variable] int line, count, line_offset = 0; ^~~~~~~~~~~ plotHP.c:348:22: warning: 'count' may be used uninitialized in this function [-Wmaybe-uninitialized] rasFileByteCount += count; ^~ --- compiling plot/plotPS.o rm -f plotPS.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c plotPS.c plotPS.c: In function 'PlotPSTechInit': plotPS.c:174:12: warning: unused variable 'j' [-Wunused-variable] int i, j; ^ plotPS.c:174:9: warning: unused variable 'i' [-Wunused-variable] int i, j; ^ plotPS.c: In function 'plotPSLine': plotPS.c:382:32: warning: unused variable 'diff' [-Wunused-variable] int x1, x2, y1, y2, limit, diff; ^~~~ plotPS.c: In function 'plotPSPaint': plotPS.c:525:12: warning: unused variable 'lr' [-Wunused-variable] Point ul, lr; ^~ plotPS.c:525:8: warning: unused variable 'ul' [-Wunused-variable] Point ul, lr; ^~ plotPS.c:556:2: warning: implicit declaration of function 'GrClipTriangle' [-Wimplicit-function-declaration] GrClipTriangle(&rootArea, &bbox, TRUE, dinfo, polyp, &np); ^~~~~~~~~~~~~~ plotPS.c: In function 'PlotPS': plotPS.c:1197:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Match(fptr2 = PlotPSNameFont, fontptr)); ^~ plotPS.c:1198:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fprintf(file, " font %s", fptr2); ^~~~~~~ plotPS.c:1136:9: warning: unused variable 'i' [-Wunused-variable] int i, j; ^ At top level: plotPS.c:111:12: warning: 'curFont' defined but not used [-Wunused-variable] static int curFont; /* Current font */ ^~~~~~~ --- compiling plot/plotMain.o rm -f plotMain.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c plotMain.c --- compiling plot/plotRutils.o rm -f plotRutils.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c plotRutils.c plotRutils.c: In function 'PlotTextSize': plotRutils.c:712:26: warning: array subscript has type 'char' [-Wchar-subscripts] else d = &font->fo_chars[*string]; ^ plotRutils.c: In function 'PlotRasterText': plotRutils.c:785:21: warning: array subscript has type 'char' [-Wchar-subscripts] d = &font->fo_chars[*string]; ^ plotRutils.c: In function 'PlotPolyRaster': plotRutils.c:380:32: warning: 'locright' may be used uninitialized in this function [-Wmaybe-uninitialized] rightMask = leftBits[locright & 037]; ~~~~~~~~~^~~~~ plotRutils.c:379:31: warning: 'locleft' may be used uninitialized in this function [-Wmaybe-uninitialized] leftMask = rightBits[locleft & 037]; ~~~~~~~~^~~~~ --- compiling plot/plotVers.o rm -f plotVers.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c plotVers.c plotVers.c: In function 'PlotVersTechLine': plotVers.c:318:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ plotVers.c: In function 'PlotColorVersTechLine': plotVers.c:404:60: warning: missing braces around initializer [-Wmissing-braces] static struct { char *l_str; int l_color; } colors[] = { ^ "black", BLACK, { } "cyan", CYAN, { } "magenta", MAGENTA, { } "yellow", YELLOW, { } "K", BLACK, { } "C", CYAN, { } "M", MAGENTA, { } "Y", YELLOW, { } 0 { }; } plotVers.c:415:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ plotVers.c: In function 'plotVersLine': plotVers.c:564:5: warning: implicit declaration of function 'PlotRastFatLine'; did you mean 'PlotRastInit'? [-Wimplicit-function-declaration] PlotRastFatLine(raster, &swathArea.r_ll, &swathArea.r_ur, widen); ^~~~~~~~~~~~~~~ PlotRastInit plotVers.c: In function 'plotVersTile': plotVers.c:690:9: warning: unused variable 'j' [-Wunused-variable] int i, j; ^ plotVers.c:690:6: warning: unused variable 'i' [-Wunused-variable] int i, j; ^ plotVers.c: In function 'PlotVersatec': plotVers.c:1207:14: warning: implicit declaration of function 'mkstemp' [-Wimplicit-function-declaration] result = mkstemp(fileName); ^~~~~~~ plotVers.c:1255:3: warning: implicit declaration of function 'PlotHPRTLHeader' [-Wimplicit-function-declaration] PlotHPRTLHeader(PlotVersWidth, dotsDown, PlotVersDotsPerInch, file); ^~~~~~~~~~~~~~~ plotVers.c:1258:3: warning: implicit declaration of function 'PlotHPGL2Header' [-Wimplicit-function-declaration] PlotHPGL2Header(PlotVersWidth, dotsDown, PlotVersDotsPerInch, ^~~~~~~~~~~~~~~ plotVers.c:1431:7: warning: implicit declaration of function 'PlotDumpHPRTL'; did you mean 'PlotDumpRaster'? [-Wimplicit-function-declaration] PlotDumpHPRTL(file, kRaster, cRaster, mRaster, yRaster); ^~~~~~~~~~~~~ PlotDumpRaster plotVers.c:1451:6: warning: implicit declaration of function 'PlotHPGL2Trailer'; did you mean 'PlotPolyRaster'? [-Wimplicit-function-declaration] PlotHPGL2Trailer(file); ^~~~~~~~~~~~~~~~ PlotPolyRaster plotVers.c:1454:6: warning: implicit declaration of function 'PlotHPRTLTrailer'; did you mean 'PlotPolyRaster'? [-Wimplicit-function-declaration] PlotHPRTLTrailer(file); ^~~~~~~~~~~~~~~~ PlotPolyRaster plotVers.c:1463:9: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration] if (system(command) != 0) ^~~~~~ plotVers.c:1431:7: warning: 'yRaster' may be used uninitialized in this function [-Wmaybe-uninitialized] PlotDumpHPRTL(file, kRaster, cRaster, mRaster, yRaster); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plotVers.c:1431:7: warning: 'mRaster' may be used uninitialized in this function [-Wmaybe-uninitialized] plotVers.c:1431:7: warning: 'cRaster' may be used uninitialized in this function [-Wmaybe-uninitialized] --- compiling plot/plotPixels.o rm -f plotPixels.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c plotPixels.c --- compiling plot/plotPNM.o rm -f plotPNM.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c plotPNM.c plotPNM.c: In function 'pnmRTLLineFunc': plotPNM.c:150:12: warning: implicit declaration of function 'PlotRTLCompress' [-Wimplicit-function-declaration] size = PlotRTLCompress(linebuffer, arg->outbytes, im_x * 3); ^~~~~~~~~~~~~~~ plotPNM.c: In function 'pnmTile': plotPNM.c:398:9: warning: unused variable 'h' [-Wunused-variable] int w, h, llx, lly, urx, ury; ^ plotPNM.c:398:6: warning: unused variable 'w' [-Wunused-variable] int w, h, llx, lly, urx, ury; ^ plotPNM.c:518:5: warning: statement with no effect [-Wunused-value] for (dy; dy > 0; dy--) ^~~ plotPNM.c: In function 'PlotPNM': plotPNM.c:747:15: warning: implicit declaration of function 'mkstemp' [-Wimplicit-function-declaration] result = mkstemp(tempFile); ^~~~~~~ plotPNM.c:904:3: warning: implicit declaration of function 'PlotHPRTLTrailer'; did you mean 'PlotPolyRaster'? [-Wimplicit-function-declaration] PlotHPRTLTrailer(rtl_args.outfile); ^~~~~~~~~~~~~~~~ PlotPolyRaster plotPNM.c:907:3: warning: implicit declaration of function 'PlotHPGL2Trailer'; did you mean 'PlotPolyRaster'? [-Wimplicit-function-declaration] PlotHPGL2Trailer(rtl_args.outfile); ^~~~~~~~~~~~~~~~ PlotPolyRaster plotPNM.c:916:6: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration] if (system(command) != 0) ^~~~~~ plotPNM.c:579:9: warning: unused variable 'i' [-Wunused-variable] int i, x, y, tile_ydelta; ^ plotPNM.c:577:10: warning: unused variable 'bbox' [-Wunused-variable] Rect bbox; ^~~~ plotPNM.c: In function 'PlotLoadStyles': plotPNM.c:1329:36: warning: unused variable 'nfill' [-Wunused-variable] int ord, mask, color, outline, nfill, stipple; ^~~~~ plotPNM.c: In function 'PlotPNM': plotPNM.c:929:5: warning: 'strip' may be used uninitialized in this function [-Wmaybe-uninitialized] freeMagic(strip); ^~~~~~~~~~~~~~~~ plotPNM.c:887:6: warning: 'fp' may be used uninitialized in this function [-Wmaybe-uninitialized] pnmRenderRegion(scale, scale_over_2, normal, strip, pnmLineFunc, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (ClientData)fp); ~~~~~~~~~~~~~~~ --- linking libplot.o rm -f libplot.o ld -r plotCmd.o plotGremln.o plotHP.o plotPS.o plotMain.o plotRutils.o plotVers.o plotPixels.o plotPNM.o -o libplot.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/plot' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/lef' --- compiling lef/lefCmd.o rm -f lefCmd.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c lefCmd.c lefCmd.c: In function 'CmdLef': lefCmd.c:117:11: warning: implicit declaration of function 'Lookup' [-Wimplicit-function-declaration] option = Lookup(cmd->tx_argv[1], cmdLefOption); ^~~~~~ lefCmd.c:120:6: warning: implicit declaration of function 'TxError'; did you mean 'perror'? [-Wimplicit-function-declaration] TxError("\"%s\" isn't a valid %s option.\n", cmd->tx_argv[1], ^~~~~~~ perror lefCmd.c:162:3: warning: implicit declaration of function 'LefRead'; did you mean 'fread'? [-Wimplicit-function-declaration] LefRead(namep, lefImport); ^~~~~~~ fread lefCmd.c:164:3: warning: implicit declaration of function 'DefRead'; did you mean 'fread'? [-Wimplicit-function-declaration] DefRead(namep); ^~~~~~~ fread lefCmd.c:186:3: warning: implicit declaration of function 'LefWriteAll' [-Wimplicit-function-declaration] LefWriteAll(selectedUse, lefTopCell, lefTech); ^~~~~~~~~~~ lefCmd.c:200:8: warning: implicit declaration of function 'TxPrintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] TxPrintf("The \"-allspec\" option is only for def write\n"); ^~~~~~~~ dprintf lefCmd.c:225:3: warning: implicit declaration of function 'DefWriteCell'; did you mean 'DBDeleteCell'? [-Wimplicit-function-declaration] DefWriteCell(selectedUse->cu_def, namep, allSpecial); ^~~~~~~~~~~~ DBDeleteCell lefCmd.c:227:3: warning: implicit declaration of function 'LefWriteCell'; did you mean 'DBDeleteCell'? [-Wimplicit-function-declaration] LefWriteCell(selectedUse->cu_def, namep, selectedUse->cu_def ^~~~~~~~~~~~ DBDeleteCell --- compiling lef/lefTech.o rm -f lefTech.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c lefTech.c lefTech.c: In function 'LefTechInit': lefTech.c:98:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&LefInfo, &hs)) ^~ lefTech.c: In function 'lefRemoveGeneratedVias': lefTech.c:148:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&LefInfo, &hs)) ^~ lefTech.c: In function 'LefTechLine': lefTech.c:209:14: warning: implicit declaration of function 'Lookup' [-Wimplicit-function-declaration] option = Lookup(argv[0], keywords); ^~~~~~ lefTech.c:212:9: warning: implicit declaration of function 'TechError'; did you mean 'LefError'? [-Wimplicit-function-declaration] TechError("Unknown LEF section keyword: %s. Line ignored.\n", argv[0]); ^~~~~~~~~ LefError lefTech.c:295:18: warning: implicit declaration of function 'CIFGetOutputScale' [-Wimplicit-function-declaration] float oscale = CIFGetOutputScale(1000); ^~~~~~~~~~~~~~~~~ lefTech.c:295:9: warning: unused variable 'oscale' [-Wunused-variable] float oscale = CIFGetOutputScale(1000); ^~~~~~ lefTech.c: In function 'LefTechScale': lefTech.c:413:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&LefInfo, &hs)) ^~ lefTech.c:423:7: warning: implicit declaration of function 'DBScalePoint'; did you mean 'DBUsePrint'? [-Wimplicit-function-declaration] DBScalePoint(&lefl->info.via.area.r_ll, scaled, scalen); ^~~~~~~~~~~~ DBUsePrint lefTech.c:440:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&LefInfo, &hs)) ^~ lefTech.c: In function 'LefTechLine': lefTech.c:365:32: warning: 'isObstruction' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((lefl->obsType == -1) && isObstruction) ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ lefTech.c:335:32: warning: 'mtype' may be used uninitialized in this function [-Wmaybe-uninitialized] newlefl->info.route.width = DRCGetDefaultLayerWidth(mtype); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling lef/lefWrite.o rm -f lefWrite.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c lefWrite.c lefWrite.c: In function 'lefFileOpen': lefWrite.c:97:2: warning: implicit declaration of function 'TxError'; did you mean 'LefError'? [-Wimplicit-function-declaration] TxError("LEF file open: No file name or cell given\n"); ^~~~~~~ LefError lefWrite.c:109:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (endp = strrchr(ends, '.')) ^~~~ lefWrite.c: In function 'lefWriteHeader': lefWrite.c:169:5: warning: implicit declaration of function 'TxPrintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] TxPrintf("Diagnostic: Write LEF header for cell %s\n", def->cd_name); ^~~~~~~~ dprintf lefWrite.c:201:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&LefInfo, &hs)) ^~ lefWrite.c:263:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&LefInfo, &hs)) ^~ lefWrite.c:165:14: warning: unused variable 'type' [-Wunused-variable] TileType type; ^~~~ lefWrite.c: In function 'MakeLegalLEFSyntax': lefWrite.c:599:32: warning: comparison between pointer and zero character constant [-Wpointer-compare] for (bptr = badLEFchars; bptr != '\0'; bptr++) ^~ lefWrite.c:599:27: note: did you mean to dereference the pointer? for (bptr = badLEFchars; bptr != '\0'; bptr++) ^ lefWrite.c: In function 'lefWriteMacro': lefWrite.c:702:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&LefInfo, &hs)) ^~ lefWrite.c:705:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lefl && (lefl->lefClass == CLASS_ROUTE || lefl->lefClass == CLASS_VIA)) ^~ lefWrite.c:715:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lefl->obsType != -1) ^~ lefWrite.c:916:2: warning: implicit declaration of function 'SelectClear'; did you mean 'SelectionClear'? [-Wimplicit-function-declaration] SelectClear(); ^~~~~~~~~~~ SelectionClear lefWrite.c:917:2: warning: implicit declaration of function 'SelectNet'; did you mean 'select'? [-Wimplicit-function-declaration] SelectNet(&scx, lab->lab_type, 0, NULL, FALSE); ^~~~~~~~~ select lefWrite.c:641:14: warning: variable 'ttype' set but not used [-Wunused-but-set-variable] TileType ttype; ^~~~~ lefWrite.c:640:21: warning: unused variable 'lmask' [-Wunused-variable] TileTypeBitMask lmask, boundmask, *lrmask; ^~~~~ lefWrite.c:634:23: warning: variable 'class' set but not used [-Wunused-but-set-variable] char *propvalue, *class = NULL; ^~~~~ lefWrite.c: In function 'LefWriteAll': lefWrite.c:1075:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (def = (CellDef *) StackPop(lefDefStack)) ^~~ lefWrite.c: In function 'MakeLegalLEFSyntax': lefWrite.c:593:26: warning: 'bptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (*cptr == '\0' && *bptr == '\0') ^~~~~ --- compiling lef/defWrite.o rm -f defWrite.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c defWrite.c defWrite.c: In function 'defWriteHeader': defWrite.c:94:5: warning: implicit declaration of function 'TxPrintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] TxPrintf("Diagnostic: Write DEF header for cell %s\n", def->cd_name); ^~~~~~~~ dprintf defWrite.c:92:14: warning: unused variable 'type' [-Wunused-variable] TileType type; ^~~~ defWrite.c: In function 'defCountNets': defWrite.c:215:5: warning: implicit declaration of function 'EFInit'; did you mean 'DRCInit'? [-Wimplicit-function-declaration] EFInit(); ^~~~~~ DRCInit defWrite.c:223:9: warning: implicit declaration of function 'EFReadFile'; did you mean 'CIFReadFile'? [-Wimplicit-function-declaration] if (EFReadFile(rootDef->cd_name, TRUE, FALSE, TRUE)) ^~~~~~~~~~ CIFReadFile defWrite.c:225:2: warning: implicit declaration of function 'EFFlatBuild' [-Wimplicit-function-declaration] EFFlatBuild(rootDef->cd_name, EF_FLATNODES | EF_NOFLATSUBCKT); ^~~~~~~~~~~ defWrite.c:226:9: warning: implicit declaration of function 'EFVisitNodes' [-Wimplicit-function-declaration] EFVisitNodes(defnodeCount, (ClientData)&total); ^~~~~~~~~~~~ defWrite.c:230:2: warning: implicit declaration of function 'TxError'; did you mean 'LefError'? [-Wimplicit-function-declaration] TxError("Warning: Circuit has no .ext file; no nets written.\n"); ^~~~~~~ LefError defWrite.c:232:2: warning: implicit declaration of function 'EFDone'; did you mean 'Expose'? [-Wimplicit-function-declaration] EFDone(); ^~~~~~ Expose defWrite.c: In function 'defnodeCount': defWrite.c:250:10: warning: unused variable 'ndn' [-Wunused-variable] char ndn[256]; ^~~ defWrite.c: In function 'defHNsprintf': defWrite.c:361:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *cp++) ^ defWrite.c:347:11: warning: variable 's' set but not used [-Wunused-but-set-variable] char *s, *cp, c; ^ defWrite.c:346:20: warning: unused variable 'trimLocal' [-Wunused-variable] bool trimGlob, trimLocal; ^~~~~~~~~ defWrite.c:346:10: warning: unused variable 'trimGlob' [-Wunused-variable] bool trimGlob, trimLocal; ^~~~~~~~ defWrite.c: In function 'defHNsprintfPrefix': defWrite.c:393:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (*str++ = *cp++) ; ^ defWrite.c:387:15: warning: unused variable 'c' [-Wunused-variable] char *cp, c; ^ defWrite.c: In function 'defWriteRouteWidth': defWrite.c:479:11: warning: unused variable 'oscale' [-Wunused-variable] float oscale = defdata->scale; ^~~~~~ defWrite.c: In function 'defnodeVisit': defWrite.c:697:5: warning: implicit declaration of function 'DBSrConnect'; did you mean 'DBIsContact'? [-Wimplicit-function-declaration] DBSrConnect(def, &node->efnode_loc, &tmask, DBConnectTbl, ^~~~~~~~~~~ DBIsContact defWrite.c:610:11: warning: unused variable 'oscale' [-Wunused-variable] float oscale = defdata->scale; ^~~~~~ defWrite.c: In function 'defNetGeometryFunc': defWrite.c:783:14: warning: unused variable 'def' [-Wunused-variable] CellDef *def = defdata->def; ^~~ defWrite.c: In function 'defCountViaFunc': defWrite.c:1372:50: warning: implicit declaration of function 'LefTechInit'; did you mean 'DRCTechInit'? [-Wimplicit-function-declaration] if (LefInfo.ht_table == (HashEntry **) NULL) LefTechInit(); ^~~~~~~~~~~ DRCTechInit defWrite.c:1362:31: warning: unused variable 'vp' [-Wunused-variable] char *lname, vname[100], *vp; ^~ defWrite.c: In function 'defGetType': defWrite.c:1548:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&LefInfo, &hs)) ^~ defWrite.c: In function 'defWriteVias': defWrite.c:1603:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&LefInfo, &hs)) ^~ defWrite.c:1635:7: warning: implicit declaration of function 'CIFGetContactSize'; did you mean 'CIFGetDefaultContactSize'? [-Wimplicit-function-declaration] if (CIFGetContactSize(lefl->type, &size, &sep, &border)) ^~~~~~~~~~~~~~~~~ CIFGetDefaultContactSize defWrite.c: In function 'DefWriteCell': defWrite.c:1947:2: warning: implicit declaration of function 'EFFlatDone' [-Wimplicit-function-declaration] EFFlatDone(); ^~~~~~~~~~ defWrite.c:1955:5: warning: implicit declaration of function 'lefRemoveGeneratedVias' [-Wimplicit-function-declaration] lefRemoveGeneratedVias(); ^~~~~~~~~~~~~~~~~~~~~~ defWrite.c:1890:16: warning: unused variable 'he' [-Wunused-variable] HashEntry *he; ^~ defWrite.c:1889:15: warning: unused variable 'lefl' [-Wunused-variable] lefLayer *lefl; ^~~~ defWrite.c:1888:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ defWrite.c: In function 'defWriteRouteWidth': defWrite.c:481:22: warning: '%.10g' directive writing between 1 and 17 bytes into a region of size 12 [-Wformat-overflow=] sprintf(numstr, "%.10g", ((float)width * defdata->scale)); ^~~~~ defWrite.c:481:21: note: assuming directive output of 16 bytes sprintf(numstr, "%.10g", ((float)width * defdata->scale)); ^~~~~~~ In file included from /usr/include/stdio.h:861:0, from defWrite.c:17: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 18 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ defWrite.c: In function 'defWriteCoord': defWrite.c:536:19: warning: '%.10g' directive writing between 1 and 17 bytes into a region of size 12 [-Wformat-overflow=] sprintf(numstr, "%.10g", x); ^~~~~ defWrite.c:536:18: note: assuming directive output of 16 bytes sprintf(numstr, "%.10g", x); ^~~~~~~ In file included from /usr/include/stdio.h:861:0, from defWrite.c:17: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 18 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ defWrite.c:548:19: warning: '%.10g' directive writing between 1 and 17 bytes into a region of size 12 [-Wformat-overflow=] sprintf(numstr, "%.10g", y); ^~~~~ defWrite.c:548:18: note: assuming directive output of 16 bytes sprintf(numstr, "%.10g", y); ^~~~~~~ In file included from /usr/include/stdio.h:861:0, from defWrite.c:17: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 18 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ defWrite.c: In function 'defNetGeometryFunc': defWrite.c:1102:44: warning: '%.10g' directive output may be truncated writing between 1 and 17 bytes into a region of size between 5 and 21 [-Wformat-truncation=] snprintf(viaName, (size_t)24, "_%.10g_%.10g", ^~~~~ defWrite.c:1102:36: note: assuming directive output of 16 bytes snprintf(viaName, (size_t)24, "_%.10g_%.10g", ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from defWrite.c:17: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 37 bytes into a destination of size 24 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ defWrite.c:1152:41: warning: '%.10g' directive output may be truncated writing between 1 and 17 bytes into a region of size between 5 and 21 [-Wformat-truncation=] snprintf(viaName, (size_t)24, "_%.10g_%.10g", ^~~~~ defWrite.c:1152:33: note: assuming directive output of 16 bytes snprintf(viaName, (size_t)24, "_%.10g_%.10g", ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from defWrite.c:17: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 37 bytes into a destination of size 24 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ defWrite.c:1080:27: warning: 'rtype' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((sameroute) && (ttype != defdata->type) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (orient == GEO_CENTER) && ~~~~~~~~~~~~~~~~~~~~~~~^~ (rtype == defdata->type)) ~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling lef/lefRead.o rm -f lefRead.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c lefRead.c lefRead.c: In function 'LefEstimate': lefRead.c:94:2: warning: implicit declaration of function 'SigSetTimer'; did you mean 'Tcl_SetTimer'? [-Wimplicit-function-declaration] SigSetTimer(PRINT_INTERVAL); ^~~~~~~~~~~ Tcl_SetTimer lefRead.c:99:2: warning: implicit declaration of function 'SigRemoveTimer' [-Wimplicit-function-declaration] SigRemoveTimer(); ^~~~~~~~~~~~~~ lefRead.c:83:18: warning: unused variable 'last_time' [-Wunused-variable] static float last_time; ^~~~~~~~~ lefRead.c:81:32: warning: unused variable 'partition' [-Wunused-variable] static int check_interval, partition; ^~~~~~~~~ lefRead.c:81:16: warning: unused variable 'check_interval' [-Wunused-variable] static int check_interval, partition; ^~~~~~~~~~~~~~ In file included from lefRead.c:40:0: lefRead.c: In function 'LefError': ../textio/textio.h:52:18: warning: implicit declaration of function 'Tcl_printf'; did you mean 'Tcl_Write'? [-Wimplicit-function-declaration] #define Vfprintf Tcl_printf ^ lefRead.c:316:2: note: in expansion of macro 'Vfprintf' Vfprintf(stderr, fmt, args); ^~~~~~~~ lefRead.c: In function 'LefParseEndStatement': lefRead.c:379:12: warning: implicit declaration of function 'LookupFull'; did you mean 'XLookupColor'? [-Wimplicit-function-declaration] keyword = LookupFull(token, match_name); ^~~~~~~~~~ XLookupColor lefRead.c:355:18: warning: unused variable 'words' [-Wunused-variable] int keyword, words; ^~~~~ lefRead.c: In function 'LefSkipSection': lefRead.c:431:17: warning: implicit declaration of function 'Lookup' [-Wimplicit-function-declaration] if ((keyword = Lookup(token, end_section)) == 0) ^~~~~~ lefRead.c: In function 'LefRedefined': lefRead.c:547:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(&LefInfo, &hs)) ^~ lefRead.c: In function 'LefReadMacro': lefRead.c:1407:39: warning: implicit declaration of function 'StrDup'; did you mean 'strdup'? [-Wimplicit-function-declaration] DBPropPut(lefMacro, "LEFclass", StrDup((char **)NULL, token)); ^~~~~~ strdup lefRead.c:1529:2: warning: implicit declaration of function 'DBAdjustLabelsNew'; did you mean 'DBAdjustLabels'? [-Wimplicit-function-declaration] DBAdjustLabelsNew(lefMacro, &TiPlaneRect, 1); ^~~~~~~~~~~~~~~~~ DBAdjustLabels lefRead.c:1539:20: warning: implicit declaration of function 'DBCellFindScale'; did you mean 'DBCellFindDup'? [-Wimplicit-function-declaration] int reducer = DBCellFindScale(lefMacro); ^~~~~~~~~~~~~~~ DBCellFindDup lefRead.c:1539:10: warning: unused variable 'reducer' [-Wunused-variable] int reducer = DBCellFindScale(lefMacro); ^~~~~~~ lefRead.c:1538:19: warning: unused variable 'propstr' [-Wunused-variable] char *propstr = (char *)mallocMagic(64); ^~~~~~~ lefRead.c:1548:2: warning: implicit declaration of function 'DRCCheckThis' [-Wimplicit-function-declaration] DRCCheckThis(lefMacro, TT_CHECKPAINT, &lefMacro->cd_bbox); ^~~~~~~~~~~~ lefRead.c: In function 'LefAddViaGeometry': lefRead.c:1604:13: warning: implicit declaration of function 'CIFGetContactSize'; did you mean 'CIFGetDefaultContactSize'? [-Wimplicit-function-declaration] contSize = CIFGetContactSize(curlayer, &edgeSize, NULL, NULL); ^~~~~~~~~~~~~~~~~ CIFGetDefaultContactSize lefRead.c:1601:8: warning: unused variable 'fcontSize' [-Wunused-variable] float fcontSize; ^~~~~~~~~ lefRead.c: In function 'LefReadLayerSection': lefRead.c:1698:10: warning: variable 'viaArea' set but not used [-Wunused-but-set-variable] Rect viaArea; ^~~~~~~ lefRead.c: In function 'LefRead': lefRead.c:1875:2: warning: implicit declaration of function 'LefTechInit'; did you mean 'CIFTechInit'? [-Wimplicit-function-declaration] LefTechInit(); ^~~~~~~~~~~ CIFTechInit At top level: lefRead.c:81:16: warning: 'check_interval' defined but not used [-Wunused-variable] static int check_interval, partition; ^~~~~~~~~~~~~~ lefRead.c:81:32: warning: 'partition' defined but not used [-Wunused-variable] static int check_interval, partition; ^~~~~~~~~ lefRead.c:83:18: warning: 'last_time' defined but not used [-Wunused-variable] static float last_time; ^~~~~~~~~ lefRead.c: In function 'LefReadMacro': lefRead.c:1355:30: warning: '%d' directive writing between 1 and 10 bytes into a region of size 5 [-Wformat-overflow=] sprintf(newname, "%250s_%d", mname, suffix); ^~ lefRead.c:1355:23: note: directive argument in the range [1, 2147483647] sprintf(newname, "%250s_%d", mname, suffix); ^~~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from lefRead.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 253 or more bytes (assuming 262) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lefRead.c: In function 'LefReadLayerSection': lefRead.c:1749:6: warning: 'typekey' may be used uninitialized in this function [-Wmaybe-uninitialized] if (lefl->lefClass != typekey) ^ --- compiling lef/defRead.o rm -f defRead.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c defRead.c defRead.c: In function 'DefAddRoutes': defRead.c:344:3: warning: implicit declaration of function 'GeoCanonicalRect'; did you mean 'GeoTransRect'? [-Wimplicit-function-declaration] GeoCanonicalRect(&locarea, &newRoute->r_r); ^~~~~~~~~~~~~~~~ GeoTransRect defRead.c:71:9: warning: unused variable 'routeWidth' [-Wunused-variable] int routeWidth, paintWidth, saveWidth; ^~~~~~~~~~ defRead.c: In function 'DefReadNets': defRead.c:471:12: warning: implicit declaration of function 'Lookup' [-Wimplicit-function-declaration] keyword = Lookup(token, net_keys); ^~~~~~ defRead.c:542:2: warning: implicit declaration of function 'TxPrintf'; did you mean 'llrintf'? [-Wimplicit-function-declaration] TxPrintf(" Processed %d%s nets total.\n", processed, ^~~~~~~~ llrintf defRead.c: In function 'DefReadPins': defRead.c:696:15: warning: unused variable 'lefl' [-Wunused-variable] lefLayer *lefl; ^~~~ defRead.c:689:26: warning: unused variable 'values' [-Wunused-variable] int keyword, subkey, values; ^~~~~~ defRead.c: In function 'DefReadVias': defRead.c:887:11: warning: unused variable 'currect' [-Wunused-variable] Rect *currect; ^~~~~~~ defRead.c:884:26: warning: unused variable 'values' [-Wunused-variable] int keyword, subkey, values; ^~~~~~ defRead.c: In function 'DefReadComponents': defRead.c:1032:26: warning: unused variable 'values' [-Wunused-variable] int keyword, subkey, values; ^~~~~~ defRead.c: In function 'DefRead': defRead.c:1262:2: warning: implicit declaration of function 'LefTechInit'; did you mean 'CIFTechInit'? [-Wimplicit-function-declaration] LefTechInit(); ^~~~~~~~~~~ CIFTechInit defRead.c:1269:2: warning: implicit declaration of function 'TxError'; did you mean 'LefError'? [-Wimplicit-function-declaration] TxError("Cannot open input file %s (%s).\n", filename, ^~~~~~~ LefError defRead.c: In function 'DefAddRoutes': defRead.c:168:25: warning: 'refp.p_y' may be used uninitialized in this function [-Wmaybe-uninitialized] addRoute->r_r.r_ybot += refp.p_y; ^~ defRead.c:167:25: warning: 'refp.p_x' may be used uninitialized in this function [-Wmaybe-uninitialized] addRoute->r_r.r_xbot += refp.p_x; ^~ defRead.c:226:11: warning: 'routeLayer' may be used uninitialized in this function [-Wmaybe-uninitialized] if (stype != routeLayer) ^ defRead.c:360:28: warning: 'paintWidth' may be used uninitialized in this function [-Wmaybe-uninitialized] newRoute->r_r.r_ytop += paintWidth; ^~ defRead.c:390:21: warning: 'routeList' may be used uninitialized in this function [-Wmaybe-uninitialized] routeList->r_next = newRoute; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ defRead.c: In function 'DefReadPins': defRead.c:823:5: warning: 'currect' may be used uninitialized in this function [-Wmaybe-uninitialized] GeoTransRect(&t, currect, &topRect); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- linking liblef.o rm -f liblef.o ld -r lefCmd.o lefTech.o lefWrite.o defWrite.o lefRead.o defRead.o -o liblef.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/lef' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/garouter' --- compiling garouter/gaChannel.o rm -f gaChannel.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c gaChannel.c gaChannel.c: In function 'GADefineChannel': gaChannel.c:203:5: warning: implicit declaration of function 'RtrChannelBounds'; did you mean 'gaChannelStats'? [-Wimplicit-function-declaration] RtrChannelBounds(r, &length, &width, &origin); ^~~~~~~~~~~~~~~~ gaChannelStats gaChannel.c: In function 'gaChannelInit': gaChannel.c:264:5: warning: implicit declaration of function 'RtrMilestoneStart' [-Wimplicit-function-declaration] RtrMilestoneStart("Obstacle map initialization"); ^~~~~~~~~~~~~~~~~ gaChannel.c:273:2: warning: implicit declaration of function 'RtrMilestonePrint' [-Wimplicit-function-declaration] RtrMilestonePrint(); ^~~~~~~~~~~~~~~~~ gaChannel.c:274:2: warning: implicit declaration of function 'RtrChannelObstacles'; did you mean 'gaChannelStats'? [-Wimplicit-function-declaration] RtrChannelObstacles(routeUse, ch); ^~~~~~~~~~~~~~~~~~~ gaChannelStats gaChannel.c:276:6: warning: implicit declaration of function 'RtrChannelDensity'; did you mean 'gaChannelInit'? [-Wimplicit-function-declaration] RtrChannelDensity(ch); ^~~~~~~~~~~~~~~~~ gaChannelInit gaChannel.c:277:2: warning: implicit declaration of function 'RtrChannelCleanObstacles' [-Wimplicit-function-declaration] RtrChannelCleanObstacles(ch); ^~~~~~~~~~~~~~~~~~~~~~~~ gaChannel.c:279:5: warning: implicit declaration of function 'RtrMilestoneDone' [-Wimplicit-function-declaration] RtrMilestoneDone(); ^~~~~~~~~~~~~~~~ gaChannel.c:300:2: warning: implicit declaration of function 'RtrPinsInit'; did you mean 'RtrTechInit'? [-Wimplicit-function-declaration] RtrPinsInit(ch); ^~~~~~~~~~~ RtrTechInit gaChannel.c:311:5: warning: implicit declaration of function 'gaStemAssignAll' [-Wimplicit-function-declaration] gaStemAssignAll(routeUse, netList); ^~~~~~~~~~~~~~~ gaChannel.c:336:6: warning: implicit declaration of function 'RtrHazards' [-Wimplicit-function-declaration] RtrHazards(ch); ^~~~~~~~~~ gaChannel.c:350:2: warning: implicit declaration of function 'RtrPinsLink'; did you mean 'RtrTechLine'? [-Wimplicit-function-declaration] RtrPinsLink(ch); ^~~~~~~~~~~ RtrTechLine gaChannel.c: In function 'gaPropagateBlockages': gaChannel.c:453:10: warning: implicit declaration of function 'RtrPinsBlock' [-Wimplicit-function-declaration] if (RtrPinsBlock(ch)) ^~~~~~~~~~~~ gaChannel.c: In function 'gaChannelStats': gaChannel.c:385:2: warning: 'clear' may be used uninitialized in this function [-Wmaybe-uninitialized] gaPinStats(ch->gcr_rPins, ch->gcr_width, tot, clear); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gaChannel.c:385:2: warning: 'tot' may be used uninitialized in this function [-Wmaybe-uninitialized] gaChannel.c: In function 'gaInitRiverBlockages': gaChannel.c:605:31: warning: 'coord' may be used uninitialized in this function [-Wmaybe-uninitialized] scx.scx_area.r_xbot = coord - RtrSubcellSepUp; ~~~~~~^~~~~~~~~~~~~~~~~ gaChannel.c:571:12: warning: 'nPins' may be used uninitialized in this function [-Wmaybe-uninitialized] int n, nPins, coord; ^~~~~ gaChannel.c:570:18: warning: 'p2' may be used uninitialized in this function [-Wmaybe-uninitialized] GCRPin *p1, *p2; ^~ gaChannel.c:570:13: warning: 'p1' may be used uninitialized in this function [-Wmaybe-uninitialized] GCRPin *p1, *p2; ^~ --- compiling garouter/gaMain.o rm -f gaMain.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c gaMain.c gaMain.c: In function 'GARouteCmd': gaMain.c:267:8: warning: implicit declaration of function 'gaMazeInit'; did you mean 'gaMazeRoute'? [-Wimplicit-function-declaration] if(gaMazeInit(routeUse)==FALSE) ^~~~~~~~~~ gaMazeRoute gaMain.c:281:9: warning: implicit declaration of function 'gaBuildNetList'; did you mean 'NMWriteNetlist'? [-Wimplicit-function-declaration] if (gaBuildNetList(netListName, routeUse, &netList) < 0) ^~~~~~~~~~~~~~ NMWriteNetlist gaMain.c:298:5: warning: implicit declaration of function 'NLFree'; did you mean 'TiFree'? [-Wimplicit-function-declaration] NLFree(&netList); ^~~~~~ TiFree gaMain.c: In function 'GARoute': gaMain.c:341:5: warning: implicit declaration of function 'gaChannelInit'; did you mean 'GAChannelInitOnce'? [-Wimplicit-function-declaration] gaChannelInit(list, routeUse, netList); ^~~~~~~~~~~~~ GAChannelInitOnce gaMain.c:348:5: warning: implicit declaration of function 'RtrMilestoneStart' [-Wimplicit-function-declaration] RtrMilestoneStart("Global routing"); ^~~~~~~~~~~~~~~~~ gaMain.c:349:5: warning: implicit declaration of function 'GlGlobalRoute' [-Wimplicit-function-declaration] GlGlobalRoute(list, netList); ^~~~~~~~~~~~~ gaMain.c:350:5: warning: implicit declaration of function 'RtrMilestoneDone' [-Wimplicit-function-declaration] RtrMilestoneDone(); ^~~~~~~~~~~~~~~~ gaMain.c:358:2: warning: implicit declaration of function 'RtrChannelRoute' [-Wimplicit-function-declaration] RtrChannelRoute(ch, &errs); ^~~~~~~~~~~~~~~ gaMain.c:369:2: warning: implicit declaration of function 'RtrMilestonePrint' [-Wimplicit-function-declaration] RtrMilestonePrint(); ^~~~~~~~~~~~~~~~~ gaMain.c:370:2: warning: implicit declaration of function 'RtrPaintBack'; did you mean 'RtrPaintStats'? [-Wimplicit-function-declaration] RtrPaintBack(ch, routeUse->cu_def); ^~~~~~~~~~~~ RtrPaintStats gaMain.c:386:2: warning: implicit declaration of function 'TxMore'; did you mean 'TxUseMore'? [-Wimplicit-function-declaration] TxMore("After channel paintback"); ^~~~~~ TxUseMore gaMain.c:389:5: warning: implicit declaration of function 'gaStemPaintAll'; did you mean 'DBStdPaintTbl'? [-Wimplicit-function-declaration] gaStemPaintAll(routeUse, netList); ^~~~~~~~~~~~~~ DBStdPaintTbl gaMain.c: In function 'gaBuildNetList': gaMain.c:455:15: warning: implicit declaration of function 'NLBuild' [-Wimplicit-function-declaration] numNets = NLBuild(routeUse, netList); ^~~~~~~ gaMain.c: In function 'GARouteCmd': gaMain.c:301:12: warning: 'errs' may be used uninitialized in this function [-Wmaybe-uninitialized] return (errs); ^ --- compiling garouter/gaMaze.o rm -f gaMaze.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c gaMaze.c gaMaze.c: In function 'gaMazeInit': gaMaze.c:101:2: warning: implicit declaration of function 'DBNewYank'; did you mean 'DBNewPlane'? [-Wimplicit-function-declaration] DBNewYank("__GAMAZETOP", &gaMazeTopUse, &gaMazeTopDef); ^~~~~~~~~ DBNewPlane gaMaze.c:107:2: warning: implicit declaration of function 'DBUnLinkCell'; did you mean 'DBUnlinkCell'? [-Wimplicit-function-declaration] DBUnLinkCell(gaMazeTopSub, gaMazeTopDef); ^~~~~~~~~~~~ DBUnlinkCell --- compiling garouter/gaSimple.o rm -f gaSimple.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c gaSimple.c gaSimple.c: In function 'gaIsClear': gaSimple.c:546:2: warning: implicit declaration of function 'ShowRect'; did you mean 'TiToRect'? [-Wimplicit-function-declaration] ShowRect(use->cu_def, r, STYLE_OUTLINEHIGHLIGHTS); ^~~~~~~~ TiToRect gaSimple.c:547:2: warning: implicit declaration of function 'TxMore'; did you mean 'TxUseMore'? [-Wimplicit-function-declaration] TxMore("Checking clear area"); ^~~~~~ TxUseMore gaSimple.c: In function 'gaStemSimpleInit': gaSimple.c:131:32: warning: 'top' may be used uninitialized in this function [-Wmaybe-uninitialized] if (bot + RtrMetalWidth > top || bot + RtrPolyWidth > top) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ gaSimple.c:131:39: warning: 'bot' may be used uninitialized in this function [-Wmaybe-uninitialized] if (bot + RtrMetalWidth > top || bot + RtrPolyWidth > top) ~~~~^~~~~~~~~~~~~~ gaSimple.c: In function 'gaStemSimpleRoute': gaSimple.c:693:3: warning: 'wOther' may be used uninitialized in this function [-Wmaybe-uninitialized] DBPaint(def, &wOther->sw_short, wOther->sw_type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gaSimple.c:683:3: warning: 'wPin' may be used uninitialized in this function [-Wmaybe-uninitialized] DBPaint(def, &wPin->sw_long, wPin->sw_type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling garouter/gaStem.o rm -f gaStem.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c gaStem.c gaStem.c: In function 'gaStemAssignAll': gaStem.c:168:5: warning: implicit declaration of function 'RtrStemProcessAll' [-Wimplicit-function-declaration] RtrStemProcessAll(routeUse, netList, GAStemWarn, gaStemAssign); ^~~~~~~~~~~~~~~~~ gaStem.c: In function 'gaStemAssign': gaStem.c:225:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ch = gaStemContainingChannel(routeUse, doWarn, loc)) ^~ gaStem.c:234:9: warning: implicit declaration of function 'RtrStemAssignExt'; did you mean 'gaStemAssignAll'? [-Wimplicit-function-declaration] if (RtrStemAssignExt(routeUse, doWarn, loc, term, net)) ^~~~~~~~~~~~~~~~ gaStemAssignAll gaStem.c: In function 'gaStemContainingChannelFunc': gaStem.c:350:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ch = (GCRChannel *) tile->ti_client) ^~ gaStem.c: In function 'gaStemInternalFunc': gaStem.c:575:2: warning: implicit declaration of function 'TxMore'; did you mean 'TxUseMore'? [-Wimplicit-function-declaration] TxMore("--------"); ^~~~~~ TxUseMore gaStem.c: In function 'gaStemCheckPin': gaStem.c:702:10: warning: implicit declaration of function 'gaStemSimpleInit'; did you mean 'gaStemInternal'? [-Wimplicit-function-declaration] if (!gaStemSimpleInit(routeUse, terminalLoc, gridPoint, side, &simple)) ^~~~~~~~~~~~~~~~ gaStemInternal gaStem.c:705:6: warning: implicit declaration of function 'gaStemSimpleRoute' [-Wimplicit-function-declaration] && !gaStemSimpleRoute(&simple, RtrMetalType, (CellDef *) NULL)) ^~~~~~~~~~~~~~~~~ gaStem.c: In function 'gaStemPaintAll': gaStem.c:957:5: warning: implicit declaration of function 'RtrMilestoneStart' [-Wimplicit-function-declaration] RtrMilestoneStart("Painting stems"); ^~~~~~~~~~~~~~~~~ gaStem.c:968:2: warning: implicit declaration of function 'RtrMilestonePrint' [-Wimplicit-function-declaration] RtrMilestonePrint(); ^~~~~~~~~~~~~~~~~ gaStem.c:972:5: warning: implicit declaration of function 'RtrMilestoneDone' [-Wimplicit-function-declaration] RtrMilestoneDone(); ^~~~~~~~~~~~~~~~ gaStem.c: In function 'gaStemPaint': gaStem.c:1035:10: warning: implicit declaration of function 'rtrStemMask'; did you mean 'ttMask'? [-Wimplicit-function-declaration] if (!rtrStemMask(routeUse, terminalLoc, flags, ^~~~~~~~~~~ ttMask gaStem.c:1062:11: warning: implicit declaration of function 'RtrStemPaintExt'; did you mean 'gaStemPaintAll'? [-Wimplicit-function-declaration] (void) RtrStemPaintExt(routeUse, terminalLoc); ^~~~~~~~~~~~~~~ gaStemPaintAll gaStem.c: In function 'gaStemGridRange': gaStem.c:921:8: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized] min= MIN(min, start); gaStem.c:920:9: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized] max = MAX(max, start); gaStem.c:921:8: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized] min= MIN(min, start); gaStem.c: In function 'gaStemNetClear': gaStem.c:834:47: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] grid = (type == CHAN_HRIVER) ? point->p_y : point->p_x; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from gaStem.c:26:0: ../utils/geometry.h:120:5: warning: 'r.r_ur.p_y' may be used uninitialized in this function [-Wmaybe-uninitialized] && ((r1)->r_ybot < (r2)->r_ytop) && ((r2)->r_ybot < (r1)->r_ytop)) ^~ gaStem.c:796:10: note: 'r.r_ur.p_y' was declared here Rect r; ^ gaStem.c:844:6: warning: 'r.r_ur.p_x' may be used uninitialized in this function [-Wmaybe-uninitialized] if (GEO_OVERLAP(&loc->nloc_rect, &r)) ^ In file included from gaStem.c:26:0: ../utils/geometry.h:120:38: warning: 'r.r_ll.p_y' may be used uninitialized in this function [-Wmaybe-uninitialized] && ((r1)->r_ybot < (r2)->r_ytop) && ((r2)->r_ybot < (r1)->r_ytop)) ^~ gaStem.c:796:10: note: 'r.r_ll.p_y' was declared here Rect r; ^ In file included from gaStem.c:26:0: ../utils/geometry.h:119:36: warning: 'r.r_ll.p_x' may be used uninitialized in this function [-Wmaybe-uninitialized] (((r1)->r_xbot < (r2)->r_xtop) && ((r2)->r_xbot < (r1)->r_xtop) \ ^~ gaStem.c:796:10: note: 'r.r_ll.p_x' was declared here Rect r; ^ gaStem.c: In function 'gaStemInternalFunc': gaStem.c:567:10: warning: 'dir2' may be used uninitialized in this function [-Wmaybe-uninitialized] pin2 = gaStemCheckPin(routeUse, loc, ch, dir2, &p2, netList); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gaStem.c:566:10: warning: 'dir1' may be used uninitialized in this function [-Wmaybe-uninitialized] pin1 = gaStemCheckPin(routeUse, loc, ch, dir1, &p1, netList); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling garouter/gaTest.o rm -f gaTest.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c gaTest.c gaTest.c: In function 'GATest': gaTest.c:100:16: warning: missing braces around initializer [-Wmissing-braces] } cmds[] = { ^ "clrdebug", CLRDEBUG, { } "setdebug", SETDEBUG, { } "showdebug", SHOWDEBUG, { } 0 { }; } gaTest.c: In function 'GAGenChans': gaTest.c:177:2: warning: implicit declaration of function 'DBNewYank'; did you mean 'DBNewPlane'? [-Wimplicit-function-declaration] DBNewYank("__GENCHANNEL__", &genUse, &genDef); ^~~~~~~~~ DBNewPlane gaTest.c:230:12: warning: implicit declaration of function 'DBCellSrArea'; did you mean 'DBCellSrDefs'? [-Wimplicit-function-declaration] (void) DBCellSrArea(&scx, gaSplitFunc, (ClientData) plane); ^~~~~~~~~~~~ DBCellSrDefs gaTest.c: In function 'GAInit': gaTest.c:390:18: warning: missing braces around initializer [-Wmissing-braces] } dflags[] = { ^ "chanonly", &gaDebChanOnly, { } "chanstats", &gaDebChanStats, { } "maze", &gaDebMaze, { } "nosimple", &gaDebNoSimple, { } "paintstems", &gaDebPaintStems, { } "showchans", &gaDebShowChans, { } "showmaze", &gaDebShowMaze, { } "stems", &gaDebStems, { } "verbose", &gaDebVerbose, { } "noclean", &gaDebNoClean, { } 0 { }; } --- linking libgarouter.o rm -f libgarouter.o ld -r gaChannel.o gaMain.o gaMaze.o gaSimple.o gaStem.o gaTest.o -o libgarouter.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/garouter' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/grouter' --- compiling grouter/grouteChan.o rm -f grouteChan.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c grouteChan.c grouteChan.c: In function 'glChanBuildMap': grouteChan.c:145:2: warning: implicit declaration of function 'DBNewYank'; did you mean 'DBNewPlane'? [-Wimplicit-function-declaration] DBNewYank("__CHANMAP__", &glChanUse, &glChanDef); ^~~~~~~~~ DBNewPlane grouteChan.c: In function 'glChanFreeMap': grouteChan.c:283:5: warning: implicit declaration of function 'dbSetPlaneTile' [-Wimplicit-function-declaration] dbSetPlaneTile(glChanPlane, newCenterTile); ^~~~~~~~~~~~~~ grouteChan.c: In function 'glChanCheckFunc': grouteChan.c:366:27: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'long int' [-Wformat=] (void) sprintf(mesg, "Tile client 0x%"DLONG_PREFIX"x doesn't match chan %p", ^~~~~~~~~~~~~~~~~ (dlong) tile->ti_client, ch); ~~~~~~~~~~~~~~~~~~~~~~~ grouteChan.c:366:57: note: format string is defined here (void) sprintf(mesg, "Tile client 0x%"DLONG_PREFIX"x doesn't match chan %p", ~~~~~~~~~~~~~~~^ grouteChan.c: In function 'glChanShowFunc': grouteChan.c:465:5: warning: implicit declaration of function 'ShowRect'; did you mean 'TiToRect'? [-Wimplicit-function-declaration] ShowRect(EditCellUse->cu_def, &r, STYLE_PALEHIGHLIGHTS); ^~~~~~~~ TiToRect grouteChan.c:466:26: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'long int' [-Wformat=] (void) sprintf(mesg, "tile ch=%"DLONG_PREFIX"x type=%d", ^~~~~~~~~~~ (dlong) tile->ti_client, TiGetType(tile)); ~~~~~~~~~~~~~~~~~~~~~~~ grouteChan.c:466:50: note: format string is defined here (void) sprintf(mesg, "tile ch=%"DLONG_PREFIX"x type=%d", ~~~~~~~~~~~~~~~^ grouteChan.c:468:5: warning: implicit declaration of function 'TxMore'; did you mean 'TxUseMore'? [-Wimplicit-function-declaration] TxMore(mesg); ^~~~~~ TxUseMore grouteChan.c: In function 'glChanPinToTile': grouteChan.c:1075:17: warning: variable 'ch' set but not used [-Wunused-but-set-variable] GCRChannel *ch; ^~ grouteChan.c: In function 'glChanFeedFunc': grouteChan.c:251:5: warning: 'mesg' may be used uninitialized in this function [-Wmaybe-uninitialized] DBWFeedbackAdd(&r, mesg, EditCellUse->cu_def, 1, STYLE_OUTLINEHIGHLIGHTS); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling grouter/grouteCrss.o rm -f grouteCrss.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c grouteCrss.c grouteCrss.c: In function 'glCrossMark': grouteCrss.c:134:6: warning: implicit declaration of function 'glDensAdjust'; did you mean 'glCrossAdjust'? [-Wimplicit-function-declaration] if (glDensAdjust(((GlobChan *) srcPin->gcr_ch->gcr_client)->gc_postDens, ^~~~~~~~~~~~ glCrossAdjust grouteCrss.c:136:6: warning: implicit declaration of function 'glChanBlockDens' [-Wimplicit-function-declaration] glChanBlockDens(srcPin->gcr_ch); ^~~~~~~~~~~~~~~ grouteCrss.c: In function 'glCrossTakePin': grouteCrss.c:177:2: warning: implicit declaration of function 'glShowCross' [-Wimplicit-function-declaration] glShowCross(pin, netid, CROSS_PERM); ^~~~~~~~~~~ grouteCrss.c:178:2: warning: implicit declaration of function 'TxMore'; did you mean 'TxUseMore'? [-Wimplicit-function-declaration] TxMore("-- crossing --"); ^~~~~~ TxUseMore grouteCrss.c: In function 'glCrossEnum': grouteCrss.c:298:34: warning: variable 'max' set but not used [-Wunused-but-set-variable] int outSide, origin, lo, hi, max, start, n, nhi; ^~~ grouteCrss.c: In function 'glCrossAdjust': grouteCrss.c:502:43: warning: implicit declaration of function 'glCrossCost'; did you mean 'glCrossChoose'? [-Wimplicit-function-declaration] newPath->gl_cost = newRest->gl_cost + glCrossCost(lookAhead, path, newRest); ^~~~~~~~~~~ glCrossChoose grouteCrss.c: In function 'glCrossEnum': grouteCrss.c:322:8: warning: 'outSide' may be used uninitialized in this function [-Wmaybe-uninitialized] if (outSide == GEO_NORTH || outSide == GEO_SOUTH) ^ grouteCrss.c:301:13: warning: 'pins' may be used uninitialized in this function [-Wmaybe-uninitialized] GCRPin *pins, *pin; ^~~~ In file included from grouteCrss.c:42:0: grouteCrss.c: In function 'glCrossCost': ../grouter/grouter.h:211:52: warning: 'opposite' may be used uninitialized in this function [-Wmaybe-uninitialized] #define PINOK(pin) ((pin)->gcr_pId == NULL && (pin)->gcr_linked) ^~ grouteCrss.c:638:13: note: 'opposite' was declared here GCRPin *opposite; ^~~~~~~~ grouteCrss.c: In function 'glCrossAdjust': grouteCrss.c:530:29: warning: 'linkedPin' may be used uninitialized in this function [-Wmaybe-uninitialized] newPath->gl_pin = linkedPin->gcr_linked; ~~~~~~~~~^~~~~~~~~~~~ --- compiling grouter/grouteDens.o rm -f grouteDens.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c grouteDens.c --- compiling grouter/grouteMain.o rm -f grouteMain.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c grouteMain.c grouteMain.c: In function 'GlGlobalRoute': grouteMain.c:93:5: warning: implicit declaration of function 'GlInit'; did you mean 'TxInit'? [-Wimplicit-function-declaration] GlInit(); ^~~~~~ TxInit grouteMain.c:94:5: warning: implicit declaration of function 'glStatsInit'; did you mean 'StrIsInt'? [-Wimplicit-function-declaration] glStatsInit(); ^~~~~~~~~~~ StrIsInt grouteMain.c:110:5: warning: implicit declaration of function 'glChanBuildMap' [-Wimplicit-function-declaration] glChanBuildMap(chanList); ^~~~~~~~~~~~~~ grouteMain.c:119:2: warning: implicit declaration of function 'glPenCompute' [-Wimplicit-function-declaration] glPenCompute(chanList, netList); ^~~~~~~~~~~~ grouteMain.c:127:5: warning: implicit declaration of function 'NLSort' [-Wimplicit-function-declaration] NLSort(netList, &netHeap); ^~~~~~ grouteMain.c:133:6: warning: implicit declaration of function 'glCrossUnreserve'; did you mean 'glCrossMark'? [-Wimplicit-function-declaration] glCrossUnreserve(net); ^~~~~~~~~~~~~~~~ glCrossMark grouteMain.c:134:6: warning: implicit declaration of function 'glPenSetPerChan' [-Wimplicit-function-declaration] glPenSetPerChan(net); ^~~~~~~~~~~~~~~ grouteMain.c:136:14: warning: implicit declaration of function 'glMultiSteiner' [-Wimplicit-function-declaration] numTerms += glMultiSteiner(EditCellUse, net, glProcessLoc, ^~~~~~~~~~~~~~ grouteMain.c:139:6: warning: implicit declaration of function 'glPenClearPerChan' [-Wimplicit-function-declaration] glPenClearPerChan(net); ^~~~~~~~~~~~~~~~~ grouteMain.c:140:2: warning: implicit declaration of function 'RtrMilestonePrint' [-Wimplicit-function-declaration] RtrMilestonePrint(); ^~~~~~~~~~~~~~~~~ grouteMain.c:145:5: warning: implicit declaration of function 'glChanFreeMap' [-Wimplicit-function-declaration] glChanFreeMap(); ^~~~~~~~~~~~~ grouteMain.c:146:5: warning: implicit declaration of function 'glStatsDone' [-Wimplicit-function-declaration] glStatsDone(netList->nnl_numNets, numTerms); ^~~~~~~~~~~ grouteMain.c: In function 'glClientInit': grouteMain.c:184:2: warning: implicit declaration of function 'glDMAlloc'; did you mean 'TiAlloc'? [-Wimplicit-function-declaration] glDMAlloc(&gc->gc_prevDens[CZ_COL], ncol, nrow); ^~~~~~~~~ TiAlloc grouteMain.c:188:2: warning: implicit declaration of function 'glDensInit'; did you mean 'glClientInit'? [-Wimplicit-function-declaration] glDensInit(gc->gc_prevDens, ch); ^~~~~~~~~~ glClientInit grouteMain.c:189:2: warning: implicit declaration of function 'glDMCopy' [-Wimplicit-function-declaration] glDMCopy(&gc->gc_prevDens[CZ_COL], &gc->gc_postDens[CZ_COL]); ^~~~~~~~ grouteMain.c: In function 'glClientFree': grouteMain.c:230:2: warning: implicit declaration of function 'glDMFree'; did you mean 'TiFree'? [-Wimplicit-function-declaration] glDMFree(&gc->gc_prevDens[CZ_COL]); ^~~~~~~~ TiFree grouteMain.c: In function 'glProcessLoc': grouteMain.c:304:5: warning: implicit declaration of function 'glCrossScalePenalties' [-Wimplicit-function-declaration] glCrossScalePenalties(); ^~~~~~~~~~~~~~~~~~~~~ grouteMain.c:331:5: warning: implicit declaration of function 'glListToHeap' [-Wimplicit-function-declaration] glListToHeap(startList, &loc->nloc_stem); ^~~~~~~~~~~~ grouteMain.c:335:5: warning: implicit declaration of function 'glMazeResetCost' [-Wimplicit-function-declaration] glMazeResetCost(headPage, headFree); ^~~~~~~~~~~~~~~ grouteMain.c:363:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (lastPt = glMazeFindPath(loc, bestCost)) ^~~~~~ grouteMain.c:382:3: warning: 'bestLength' may be used uninitialized in this function [-Wmaybe-uninitialized] (float) bestLength / (float) shortLength * 100.0, ^~~~~~~~~~~~~~~~~~ --- compiling grouter/grouteMult.o rm -f grouteMult.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c grouteMult.c grouteMult.c: In function 'glMultiSteiner': grouteMult.c:144:2: warning: implicit declaration of function 'glListAdd' [-Wimplicit-function-declaration] glListAdd(&startList, loc->nloc_pin, glMultiStemCost(loc)); ^~~~~~~~~ grouteMult.c:144:39: warning: implicit declaration of function 'glMultiStemCost'; did you mean 'glMultiSteiner'? [-Wimplicit-function-declaration] glListAdd(&startList, loc->nloc_pin, glMultiStemCost(loc)); ^~~~~~~~~~~~~~~ glMultiSteiner grouteMult.c:179:17: warning: implicit declaration of function 'glPathFreePerm'; did you mean 'glPathCopyPerm'? [-Wimplicit-function-declaration] if (bestDest) glPathFreePerm(bestDest); ^~~~~~~~~~~~~~ glPathCopyPerm grouteMult.c:185:6: warning: implicit declaration of function 'glPathFreeTemp'; did you mean 'glPathCopyPerm'? [-Wimplicit-function-declaration] glPathFreeTemp(); ^~~~~~~~~~~~~~ glPathCopyPerm --- compiling grouter/grouteMaze.o rm -f grouteMaze.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c grouteMaze.c grouteMaze.c: In function 'glMazeFindPath': grouteMaze.c:161:2: warning: implicit declaration of function 'glHistoAdd'; did you mean 'HistAdd'? [-Wimplicit-function-declaration] glHistoAdd(heapPts, frontierPts, startPts); ^~~~~~~~~~ HistAdd grouteMaze.c: In function 'glMazeTile': grouteMaze.c:381:9: warning: implicit declaration of function 'glCrossEnum'; did you mean 'glCrossMark'? [-Wimplicit-function-declaration] (void) glCrossEnum(inPt, tile, glMazeTileFunc, (ClientData) NULL); ^~~~~~~~~~~ glCrossMark grouteMaze.c: In function 'glMazeResetCost': grouteMaze.c:572:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pin = gpage->glp_array[n].gl_pin) ^~~ grouteMaze.c: In function 'glMazePropRiver': grouteMaze.c:267:41: warning: 'outPin' may be used uninitialized in this function [-Wmaybe-uninitialized] linkedPin->gcr_cost = outPin->gcr_cost = cost; ~~~~~~~~~~~~~~~~~^~~~~~ --- compiling grouter/groutePath.o rm -f groutePath.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c groutePath.c groutePath.c: In function 'glListToHeap': groutePath.c:127:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tp = glChanPinToTile((Tile *) NULL, pin)) ^~ At top level: groutePath.c:20:13: warning: 'sccsid' defined but not used [-Wunused-variable] static char sccsid[] = "@(#)groutePoint.c 4.9 MAGIC (Berkeley) 12/6/85"; ^~~~~~ --- compiling grouter/groutePen.o rm -f groutePen.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c groutePen.c groutePen.c: In function 'glPenAssignCosts': groutePen.c:424:5: warning: implicit declaration of function 'qsort' [-Wimplicit-function-declaration] qsort(crossArray, numCross, sizeof (NetSet *), glPenSortNetSet); ^~~~~ groutePen.c:441:15: warning: implicit declaration of function 'glDMMaxInRange' [-Wimplicit-function-declaration] density = glDMMaxInRange(dm, cz->cz_lo, cz->cz_hi); ^~~~~~~~~~~~~~ groutePen.c:455:12: warning: implicit declaration of function 'glPenDeleteNet'; did you mean 'glPenDeleteFunc'? [-Wimplicit-function-declaration] density = glPenDeleteNet(dm, nc->nc_paths, cz); ^~~~~~~~~~~~~~ glPenDeleteFunc groutePen.c: In function 'glPenFindCrossingNets': groutePen.c:534:10: warning: implicit declaration of function 'glPenEnumCross'; did you mean 'glPenRouteCost'? [-Wimplicit-function-declaration] if (glPenEnumCross(cz, (GlPoint *) LIST_FIRST(list), ^~~~~~~~~~~~~~ glPenRouteCost groutePen.c: In function 'glPenRerouteNetCost': groutePen.c:693:5: warning: implicit declaration of function 'glMultiSteiner' [-Wimplicit-function-declaration] glMultiSteiner((CellUse *) NULL, net, glProcessLoc, glPenRouteCost, ^~~~~~~~~~~~~~ groutePen.c: In function 'glPenCleanNet': groutePen.c:825:2: warning: implicit declaration of function 'glPathFreePerm'; did you mean 'glPathCopyPerm'? [-Wimplicit-function-declaration] glPathFreePerm((GlPoint *) LIST_FIRST(list)); ^~~~~~~~~~~~~~ glPathCopyPerm groutePen.c: In function 'glPenDensitySet': groutePen.c:905:6: warning: implicit declaration of function 'glDensAdjust' [-Wimplicit-function-declaration] glDensAdjust(((GlobChan *) srcPin->gcr_ch->gcr_client)->gc_postDens, ^~~~~~~~~~~~ groutePen.c:885:16: warning: unused variable 'nc' [-Wunused-variable] NetClient *nc = (NetClient *) net->nnet_cdata; ^~ --- compiling grouter/grouteTest.o rm -f grouteTest.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c grouteTest.c grouteTest.c: In function 'GlTest': grouteTest.c:125:16: warning: missing braces around initializer [-Wmissing-braces] } cmds[] = { ^ "clrdebug", CLRDEBUG, { } "onlynet", ONLYNET, { } "setdebug", SETDEBUG, { } "showdebug", SHOWDEBUG, { } "sides", SIDES, { } 0 { }; } grouteTest.c:178:13: warning: implicit declaration of function 'rtrEnumSides'; did you mean 'glDebugSides'? [-Wimplicit-function-declaration] (void) rtrEnumSides(EditCellUse, &editArea, n, ^~~~~~~~~~~~ glDebugSides grouteTest.c: In function 'glDebugSides': grouteTest.c:219:5: warning: implicit declaration of function 'ShowRect'; did you mean 'TiToRect'? [-Wimplicit-function-declaration] ShowRect(def, &r, STYLE_SOLIDHIGHLIGHTS); ^~~~~~~~ TiToRect grouteTest.c:222:5: warning: implicit declaration of function 'TxMore'; did you mean 'TxUseMore'? [-Wimplicit-function-declaration] TxMore(mesg); ^~~~~~ TxUseMore grouteTest.c: In function 'GlInit': grouteTest.c:263:18: warning: missing braces around initializer [-Wmissing-braces] } dflags[] = { ^ "allpoints", &glDebAllPoints, { } "chan", &glDebChan, { } "cross", &glDebCross, { } "fast", &glDebFast, { } "heap", &glDebHeap, { } "histo", &glDebHisto, { } "log", &glDebLog, { } "greedy", &glDebGreedy, { } "maze", &glDebMaze, { } "net", &glDebNet, { } "newheaps", &glDebNewHeaps, { } "penalties", &glDebPen, { } "showpins", &glDebShowPins, { } "stemsonly", &glDebStemsOnly, { } "straight", &glDebStraight, { } "tiles", &glDebTiles, { } "verbose", &glDebVerbose, { } 0 { }; } grouteTest.c: In function 'glShowCross': grouteTest.c:382:5: warning: 'style' may be used uninitialized in this function [-Wmaybe-uninitialized] ShowRect(EditCellUse->cu_def, &r, style); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grouteTest.c:374:2: warning: 'name' may be used uninitialized in this function [-Wmaybe-uninitialized] TxPrintf("%s (%d,%d), Net %s/%d->%s/%d, Ch %d\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ name, pin->gcr_point.p_x, pin->gcr_point.p_y, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ name1, pin->gcr_pSeg, name2, netId.netid_seg, pin->gcr_ch); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- linking libgrouter.o rm -f libgrouter.o ld -r grouteChan.o grouteCrss.o grouteDens.o grouteMain.o grouteMult.o grouteMaze.o groutePath.o groutePen.o grouteTest.o -o libgrouter.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/grouter' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/irouter' --- compiling irouter/irCommand.o rm -f irCommand.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c irCommand.c irCommand.c: In function 'irSetNoisyAutoInt': irCommand.c:112:25: warning: missing braces around initializer [-Wmissing-braces] } specialValues[] = { ^ "automatic", V_AUTOMATIC, { } 0 { }; } irCommand.c: In function 'irLSetWidth': irCommand.c:231:5: warning: implicit declaration of function 'SetNoisyInt'; did you mean 'SetNoisyBool'? [-Wimplicit-function-declaration] SetNoisyInt(&(rL->rl_routeType.rt_width),s,file); ^~~~~~~~~~~ SetNoisyBool irCommand.c: In function 'irSrSetRate': irCommand.c:542:5: warning: implicit declaration of function 'SetNoisyDI'; did you mean 'SetNoisyBool'? [-Wimplicit-function-declaration] SetNoisyDI(&irMazeParms->mp_wRate,s,file); ^~~~~~~~~~ SetNoisyBool irCommand.c: In function 'irWzdSetWindow': irCommand.c:681:23: warning: missing braces around initializer [-Wmissing-braces] } specialArgs[] = { ^ "command", SP_COMMAND, { } ".", SP_DOT, { } 0 { }; } irCommand.c: At top level: irCommand.c:787:14: warning: missing braces around initializer [-Wmissing-braces] } cParms[] = { ^ "active", irCSetActive, { } "width", irCSetWidth, { } "length", irCSetLength, { } "cost", irCSetCost, { } 0 { }; } irCommand.c: In function 'irContactsCmd': irCommand.c:901:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(rC=irFindRouteContact(tileType)) ^~ irCommand.c:999:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(rC=irFindRouteContact(tileType)) ^~ irCommand.c: At top level: irCommand.c:1156:14: warning: missing braces around initializer [-Wmissing-braces] } lParms[] = { ^ "active", irLSetActive, { } "width", irLSetWidth, { } "length", irLSetLength, { } "hCost", irLSetHCost, { } "vCost", irLSetVCost, { } "jogCost", irLSetJogCost, { } "hintCost", irLSetHintCost, { } "overCost", irLSetOverCost, { } 0 { }; } irCommand.c: In function 'irLayersCmd': irCommand.c:1275:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rL=irFindRouteLayer(tileType)) ^~ irCommand.c:1375:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rL=irFindRouteLayer(tileType)) ^~ irCommand.c: In function 'irRouteCmd': irCommand.c:1554:21: warning: implicit declaration of function 'cmdParseCoord'; did you mean 'XParseColor'? [-Wimplicit-function-declaration] destRect.r_xbot = cmdParseCoord(w, argv[i], FALSE, TRUE); ^~~~~~~~~~~~~ XParseColor irCommand.c:1675:3: warning: implicit declaration of function 'SigRemoveTimer'; did you mean 'SigSetTimer'? [-Wimplicit-function-declaration] SigRemoveTimer(); ^~~~~~~~~~~~~~ SigSetTimer irCommand.c:1691:16: warning: implicit declaration of function 'irRoute'; did you mean 'MZRoute'? [-Wimplicit-function-declaration] irResult = irRoute(w, startType, startPtArg, startLabel, startLayers, ^~~~~~~ MZRoute irCommand.c: At top level: irCommand.c:1749:15: warning: missing braces around initializer [-Wmissing-braces] } srParms[] = { ^ "rate", irSrSetRate, { } "width", irSrSetWidth, { } 0 { }; } irCommand.c: In function 'irSpacingsCmd': irCommand.c:1870:18: warning: missing braces around initializer [-Wmissing-braces] } sValue[] = { ^ "n", -1, { } "nil", -1, { } "none", -1, { } "null", -1, { } 0 { }; } irCommand.c:1883:24: warning: missing braces around initializer [-Wmissing-braces] } subcellTable[] = { ^ "subcell", TT_SUBCELL, { } 0 { }; } irCommand.c:1931:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rT=irFindRouteType(tileType)) ^~ irCommand.c: At top level: irCommand.c:2240:16: warning: missing braces around initializer [-Wmissing-braces] } wzdParms[] = { ^ "bloom", irWzdSetBloomCost, { } "bloomLimit", irWzdSetBloomLimit, { } "boundsIncrement", irWzdSetBoundsIncrement, { } "estimate", irWzdSetEstimate, { } "expandEndpoints", irWzdSetExpandEndpoints, { } "penalty", irWzdSetPenalty, { } "penetration", irWzdSetPenetration, { } "window", irWzdSetWindow, { } 0 { }; } irCommand.c:2512:32: warning: missing braces around initializer [-Wmissing-braces] SubCmdTableE irSubcommands[] = { ^ "contacts", irContactsCmd, { irCommand.c:2516:39: \t(can use '*' for type or parameter)", } irCommand.c:2518:5: "help", irHelpCmd, { irCommand.c:2520:24: "help [subcommand]", } irCommand.c:2522:5: "layers", irLayersCmd, { irCommand.c:2525:39: \t(can use '*' for type or parameter)", } irCommand.c:2527:5: "route", irRouteCmd, { irCommand.c:2538:36: \t-dSelection = route to selection", } irCommand.c:2540:5: "saveParameters", irSaveParametersCmd, { irCommand.c:2543:32: "saveParameters ", } irCommand.c:2545:5: "search", irSearchCmd, { irCommand.c:2547:39: "search [searchParameter] [value]", } irCommand.c:2549:5: "spacings", irSpacingsCmd, { irCommand.c:2554:30: \t(sets all spacings to nil)", } irCommand.c:2556:5: "verbosity", irVerbosityCmd, { irCommand.c:2559:69: \t(0 = errors and warnings only, 1 = brief, 2 = lots of statistics)", } irCommand.c:2561:5: "version", irVersionCmd, { irCommand.c:2563:14: "version", } irCommand.c:2565:5: "wizard", irWizardCmd, { irCommand.c:2567:39: "wizard [wizardParameter] [value]", } irCommand.c:2569:5: 0 { }, *subCmdP; } --- compiling irouter/irMain.o rm -f irMain.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c irMain.c irMain.c: In function 'IRDebugInit': irMain.c:101:18: warning: missing braces around initializer [-Wmissing-braces] } dflags[] = { ^ "endpts", &irDebEndPts, { } "noclean", &irDebNoClean, { } 0 { }; } --- compiling irouter/irRoute.o rm -f irRoute.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c irRoute.c irRoute.c: In function 'irRoute': irRoute.c:417:3: warning: implicit declaration of function 'SelSetDisplay'; did you mean 'SigTimerDisplay'? [-Wimplicit-function-declaration] SelSetDisplay(SelectUse, SelectRootDef); ^~~~~~~~~~~~~ SigTimerDisplay irRoute.c:424:6: warning: implicit declaration of function 'SelRememberForUndo' [-Wimplicit-function-declaration] SelRememberForUndo(TRUE, (CellDef *) NULL, (Rect *) NULL); ^~~~~~~~~~~~~~~~~~ irRoute.c:384:14: warning: unused variable 'finalRL' [-Wunused-variable] RouteLayer *finalRL = path->rp_rLayer; ^~~~~~~ irRoute.c: In function 'irSelLabelsFunc': irRoute.c:759:14: warning: unused variable 'cellDef' [-Wunused-variable] CellDef *cellDef = cellUse->cu_def; ^~~~~~~ irRoute.c: In function 'irChooseEndPtLayers': irRoute.c:1115:10: warning: implicit declaration of function 'Lookup' [-Wimplicit-function-declaration] if(Lookup(answer, actionNames) == 1) ^~~~~~ --- compiling irouter/irTestCmd.o rm -f irTestCmd.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c irTestCmd.c irTestCmd.c: In function 'irDebugTstCmd': irTestCmd.c:97:6: warning: implicit declaration of function 'DebugSet'; did you mean 'IRDebugInit'? [-Wimplicit-function-declaration] DebugSet(irDebugID,1,&(cmd->tx_argv[2]),(bool) value); ^~~~~~~~ IRDebugInit irTestCmd.c:105:2: warning: implicit declaration of function 'DebugShow' [-Wimplicit-function-declaration] DebugShow(irDebugID); ^~~~~~~~~ irTestCmd.c: In function 'irParmsTstCmd': irTestCmd.c:212:5: warning: implicit declaration of function 'TxMore'; did you mean 'TxUseMore'? [-Wimplicit-function-declaration] TxMore(""); ^~~~~~ TxUseMore irTestCmd.c: At top level: irTestCmd.c:219:34: warning: missing braces around initializer [-Wmissing-braces] TestCmdTableE irTestCommands[] = { ^ "debug", irDebugTstCmd, { irTestCmd.c:222:27: "debug [flag] [value]", } irTestCmd.c:224:5: "help", irHelpTstCmd, { irTestCmd.c:226:24: "help [subcommand]", } irTestCmd.c:228:5: "parms", irParmsTstCmd, { irTestCmd.c:230:12: "parms", } irTestCmd.c:232:2: 0 { }, *irTestCmdP; } --- compiling irouter/irUtils.o rm -f irUtils.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c irUtils.c --- linking libirouter.o rm -f libirouter.o ld -r irCommand.o irMain.o irRoute.o irTestCmd.o irUtils.o -o libirouter.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/irouter' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/mzrouter' --- compiling mzrouter/mzBlock.o rm -f mzBlock.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c mzBlock.c mzBlock.c: In function 'mzPaintBlockType': mzBlock.c:474:7: warning: implicit declaration of function 'DBPaintPlaneVert'; did you mean 'DBPaintPlaneXor'? [-Wimplicit-function-declaration] DBPaintPlaneVert(rT->rt_vBlock, &rblock, ^~~~~~~~~~~~~~~~ DBPaintPlaneXor mzBlock.c: In function 'mzBuildFenceBlocksFunc': mzBlock.c:590:14: warning: unused variable 'tt' [-Wunused-variable] TileType tt = TiGetType(tile); ^~ In file included from mzBlock.c:94:0: mzBlock.c: In function 'mzCWalksFunc2': ../utils/geofast.h:40:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^ mzBlock.c:1463:5: note: in expansion of macro 'GEOCLIP' GEOCLIP(&rect, wD->wd_bounds); ^~~~~~~ mzBlock.c:1468:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' { ^ --- compiling mzrouter/mzDebug.o rm -f mzDebug.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c mzDebug.c mzDebug.c: In function 'MZPrintRLs': mzDebug.c:145:15: warning: implicit declaration of function 'TxMore'; did you mean 'TxUseMore'? [-Wimplicit-function-declaration] if(rL!=NULL) TxMore(""); ^~~~~~ TxUseMore mzDebug.c: In function 'mzDumpTagsFunc': mzDebug.c:532:20: warning: unused variable 'scx' [-Wunused-variable] SearchContext *scx = cxp->tc_scx; ^~~ --- compiling mzrouter/mzEstimate.o rm -f mzEstimate.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c mzEstimate.c mzEstimate.c: In function 'mzAssignVertexCosts': mzEstimate.c:1515:11: warning: unused variable 't' [-Wunused-variable] Tile *t; ^ mzEstimate.c: In function 'mzDumpEstFunc': mzEstimate.c:1993:14: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'dlong {aka long int}' [-Wformat=] fprintf(fd,"\t\t%"DLONG_PREFIX"d + ABS(x - %d)*%d + ABS(y - %d)*%d\n", ^~~~~~~ e->e_cost0,e->e_x0,e->e_hCost, ~~~~~~~~~~ mzEstimate.c:1993:34: note: format string is defined here fprintf(fd,"\t\t%"DLONG_PREFIX"d + ABS(x - %d)*%d + ABS(y - %d)*%d\n", ~~~~~~~~~~~~~~~^ mzEstimate.c:1986:11: warning: unused variable 'str' [-Wunused-variable] char str[100]; ^~~ mzEstimate.c:2008:11: warning: unused variable 'str' [-Wunused-variable] char str[100]; ^~~ mzEstimate.c: In function 'mzAddVertex': mzEstimate.c:1584:11: warning: 'tLoc' may be used uninitialized in this function [-Wmaybe-uninitialized] Tile *tLoc; /* Tile containing location of vxThis */ ^~~~ In file included from mzEstimate.c:98:0: ../tiles/tile.h:267:5: warning: 'loc.p_y' may be used uninitialized in this function [-Wmaybe-uninitialized] for ((tResult) = TR(t); BOTTOM(tResult) > (y); (tResult) = LB(tResult)) \ ^~~ mzEstimate.c:1583:11: note: 'loc.p_y' was declared here Point loc; /* location of vxThis */ ^~~ mzEstimate.c:1639:8: warning: 'loc.p_x' may be used uninitialized in this function [-Wmaybe-uninitialized] if(LEFT(tAbove)==LEFT(tLoc)) ^ --- compiling mzrouter/mzXtndDown.o rm -f mzXtndDown.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c mzXtndDown.c mzXtndDown.c: In function 'mzExtendDown': mzXtndDown.c:141:7: warning: implicit declaration of function 'mzExtendBlockBounds'; did you mean 'mzExtendDown'? [-Wimplicit-function-declaration] mzExtendBlockBounds(&p); ^~~~~~~~~~~~~~~~~~~ mzExtendDown --- compiling mzrouter/mzXtndLeft.o rm -f mzXtndLeft.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c mzXtndLeft.c mzXtndLeft.c: In function 'mzExtendLeft': mzXtndLeft.c:143:7: warning: implicit declaration of function 'mzExtendBlockBounds' [-Wimplicit-function-declaration] mzExtendBlockBounds(&p); ^~~~~~~~~~~~~~~~~~~ --- compiling mzrouter/mzXtndRght.o rm -f mzXtndRght.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c mzXtndRght.c mzXtndRght.c: In function 'mzExtendRight': mzXtndRght.c:144:7: warning: implicit declaration of function 'mzExtendBlockBounds' [-Wimplicit-function-declaration] mzExtendBlockBounds(&p); ^~~~~~~~~~~~~~~~~~~ --- compiling mzrouter/mzXtndUp.o rm -f mzXtndUp.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c mzXtndUp.c mzXtndUp.c: In function 'mzExtendUp': mzXtndUp.c:141:7: warning: implicit declaration of function 'mzExtendBlockBounds' [-Wimplicit-function-declaration] mzExtendBlockBounds(&p); ^~~~~~~~~~~~~~~~~~~ --- compiling mzrouter/mzHint.o rm -f mzHint.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c mzHint.c mzHint.c: In function 'mzBuildHFRFunc': mzHint.c:163:2: warning: implicit declaration of function 'DBPaintPlaneVert'; did you mean 'DBPaintPlaneXor'? [-Wimplicit-function-declaration] DBPaintPlaneVert(mzVHintPlane, ^~~~~~~~~~~~~~~~ DBPaintPlaneXor --- compiling mzrouter/mzInit.o rm -f mzInit.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c mzInit.c mzInit.c: In function 'MZInit': mzInit.c:113:18: warning: missing braces around initializer [-Wmissing-braces] } dflags[] = { ^ "steppath", &mzDebStep, { } "maze", &mzDebMaze, { } 0 { }; } mzInit.c:137:5: warning: implicit declaration of function 'DBNewYank'; did you mean 'DBNewPlane'? [-Wimplicit-function-declaration] DBNewYank("__mz_result", &mzResultUse, &mzResultDef); ^~~~~~~~~ DBNewPlane --- compiling mzrouter/mzNumLine.o rm -f mzNumLine.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c mzNumLine.c --- compiling mzrouter/mzMain.o rm -f mzMain.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c mzMain.c mzMain.c: In function 'MZCopyParms': mzMain.c:250:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^ mzMain.c:349:5: note: in expansion of macro 'ADDR_TBL' ADDR_TBL(RouteType *, newParms->mp_rTypes); ^~~~~~~~ mzMain.c:352:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' { ^ mzMain.c:250:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^ mzMain.c:363:6: note: in expansion of macro 'ADDR_TBL' ADDR_TBL(RouteType *, rLNew->rl_routeType.rt_next); ^~~~~~~~ mzMain.c:366:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' { ^ mzMain.c: In function 'MZInitRoute': mzMain.c:517:5: warning: implicit declaration of function 'mzComputeDerivedParms' [-Wimplicit-function-declaration] mzComputeDerivedParms(); ^~~~~~~~~~~~~~~~~~~~~ mzMain.c:526:5: warning: implicit declaration of function 'mzBuildHFR' [-Wimplicit-function-declaration] mzBuildHFR(mzRouteUse, &mzBoundingRect); ^~~~~~~~~~ mzMain.c: In function 'MZAddStart': mzMain.c:635:2: warning: implicit declaration of function 'mzMarkConnectedTiles' [-Wimplicit-function-declaration] mzMarkConnectedTiles(&rect, type, (mzExpandEndpoints) ? ^~~~~~~~~~~~~~~~~~~~ mzMain.c: In function 'MZAddDest': mzMain.c:674:18: warning: unused variable 'dTerm' [-Wunused-variable] ColoredRect *dTerm; ^~~~~ mzMain.c: In function 'MZRoute': mzMain.c:742:2: warning: implicit declaration of function 'mzPaintBlockType'; did you mean 'mzPaintContact'? [-Wimplicit-function-declaration] mzPaintBlockType(&term->cr_rect, term->cr_type, &mzBoundingRect, ^~~~~~~~~~~~~~~~ mzPaintContact mzMain.c:749:5: warning: implicit declaration of function 'mzBuildDestAreaBlocks' [-Wimplicit-function-declaration] mzBuildDestAreaBlocks(); ^~~~~~~~~~~~~~~~~~~~~ mzMain.c:763:5: warning: implicit declaration of function 'mzBuildEstimate' [-Wimplicit-function-declaration] mzBuildEstimate(); ^~~~~~~~~~~~~~~ mzMain.c:808:2: warning: implicit declaration of function 'mzExtendBlockBounds' [-Wimplicit-function-declaration] mzExtendBlockBounds(&(term->cr_rect.r_ll)); ^~~~~~~~~~~~~~~~~~~ mzMain.c:810:6: warning: implicit declaration of function 'mzStart'; did you mean 'mzSearch'? [-Wimplicit-function-declaration] if (mzStart(term) == FALSE) ^~~~~~~ mzSearch mzMain.c: In function 'MZCleanupPath': mzMain.c:922:15: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] hdist = abs(n1path->rp_entry.p_x - spath->rp_entry.p_x); ^~~ mzMain.c:887:43: warning: variable 'cdist2' set but not used [-Wunused-but-set-variable] int pathlength, hdist, vdist, cdist1, cdist2; ^~~~~~ mzMain.c:886:29: warning: variable 'ctype2' set but not used [-Wunused-but-set-variable] TileType ctype, ctype1, ctype2; ^~~~~~ mzMain.c: In function 'MZClean': mzMain.c:1261:2: warning: implicit declaration of function 'mzCleanEstimate' [-Wimplicit-function-declaration] mzCleanEstimate(); ^~~~~~~~~~~~~~~ mzMain.c:1307:6: warning: implicit declaration of function 'mzFreeAllRPaths'; did you mean 'mzAllocRPath'? [-Wimplicit-function-declaration] mzFreeAllRPaths(); ^~~~~~~~~~~~~~~ mzAllocRPath --- compiling mzrouter/mzSearch.o rm -f mzSearch.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c mzSearch.c mzSearch.c: In function 'mzSearch': mzSearch.c:214:6: warning: implicit declaration of function 'TxMore'; did you mean 'TxUseMore'? [-Wimplicit-function-declaration] TxMore(""); ^~~~~~ TxUseMore mzSearch.c:227:3: warning: implicit declaration of function 'mzPrintPathHead'; did you mean 'MZPaintPath'? [-Wimplicit-function-declaration] mzPrintPathHead(path); ^~~~~~~~~~~~~~~ MZPaintPath mzSearch.c:317:7: warning: implicit declaration of function 'mzExtendBlockBounds' [-Wimplicit-function-declaration] mzExtendBlockBounds(point); ^~~~~~~~~~~~~~~~~~~ mzSearch.c: In function 'mzExtendPath': mzSearch.c:737:2: warning: implicit declaration of function 'mzExtendRight'; did you mean 'mzExtendPath'? [-Wimplicit-function-declaration] mzExtendRight(path); ^~~~~~~~~~~~~ mzExtendPath mzSearch.c:742:2: warning: implicit declaration of function 'mzExtendLeft'; did you mean 'mzExtendPath'? [-Wimplicit-function-declaration] mzExtendLeft(path); ^~~~~~~~~~~~ mzExtendPath mzSearch.c:747:2: warning: implicit declaration of function 'mzExtendUp'; did you mean 'mzExtendPath'? [-Wimplicit-function-declaration] mzExtendUp(path); ^~~~~~~~~~ mzExtendPath mzSearch.c:752:2: warning: implicit declaration of function 'mzExtendDown'; did you mean 'mzExtendPath'? [-Wimplicit-function-declaration] mzExtendDown(path); ^~~~~~~~~~~~ mzExtendPath mzSearch.c:786:6: warning: implicit declaration of function 'mzWalkUDContact'; did you mean 'mzWalkContact'? [-Wimplicit-function-declaration] mzWalkUDContact(path); ^~~~~~~~~~~~~~~ mzWalkContact mzSearch.c:790:6: warning: implicit declaration of function 'mzWalkLRContact'; did you mean 'mzWalkContact'? [-Wimplicit-function-declaration] mzWalkLRContact(path); ^~~~~~~~~~~~~~~ mzWalkContact mzSearch.c: In function 'mzExtendViaLRContacts': mzSearch.c:913:11: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] if ((abs(p.p_x - lastCpos->p_x) < cdist) && ^~~ --- compiling mzrouter/mzStart.o rm -f mzStart.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c mzStart.c mzStart.c: In function 'mzStart': mzStart.c:96:11: warning: unused variable 'tp' [-Wunused-variable] Tile *tp; ^~ --- compiling mzrouter/mzSubrs.o rm -f mzSubrs.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c mzSubrs.c mzSubrs.c: In function 'mzPaintContact': mzSubrs.c:592:15: warning: unused variable 'pNumC' [-Wunused-variable] int pNum, pNumC, cWidth; ^~~~~ --- compiling mzrouter/mzTech.o rm -f mzTech.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c mzTech.c mzTech.c: In function 'MZAfterTech': mzTech.c:234:21: warning: implicit declaration of function 'DRCGetDefaultLayerWidth' [-Wimplicit-function-declaration] rT->rt_width = DRCGetDefaultLayerWidth(rT->rt_tileType); ^~~~~~~~~~~~~~~~~~~~~~~ mzTech.c:236:23: warning: implicit declaration of function 'DRCGetDefaultLayerSpacing' [-Wimplicit-function-declaration] rT->rt_spacing[i] = DRCGetDefaultLayerSpacing(rT->rt_tileType, i); ^~~~~~~~~~~~~~~~~~~~~~~~~ mzTech.c: In function 'mzTechSpacing': mzTech.c:816:24: warning: missing braces around initializer [-Wmissing-braces] } subcellTable[] = { ^ "subcell", TT_SUBCELL, { } 0 { }; } --- compiling mzrouter/mzTestCmd.o rm -f mzTestCmd.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c mzTestCmd.c mzTestCmd.c: In function 'mzDebugTstCmd': mzTestCmd.c:99:6: warning: implicit declaration of function 'DebugSet'; did you mean 'IRDebugInit'? [-Wimplicit-function-declaration] DebugSet(mzDebugID,1,&(cmd->tx_argv[2]),(bool) value); ^~~~~~~~ IRDebugInit mzTestCmd.c:108:2: warning: implicit declaration of function 'DebugShow' [-Wimplicit-function-declaration] DebugShow(mzDebugID); ^~~~~~~~~ mzTestCmd.c: In function 'mzDumpEstimatesTstCmd': mzTestCmd.c:155:2: warning: implicit declaration of function 'mzDumpEstimates'; did you mean 'mzDumpEstimatesTstCmd'? [-Wimplicit-function-declaration] mzDumpEstimates(&box,(FILE *) NULL); ^~~~~~~~~~~~~~~ mzDumpEstimatesTstCmd mzTestCmd.c: In function 'mzDumpTagsTstCmd': mzTestCmd.c:202:2: warning: implicit declaration of function 'mzDumpTags'; did you mean 'mzDumpTagsTstCmd'? [-Wimplicit-function-declaration] mzDumpTags(&box); ^~~~~~~~~~ mzDumpTagsTstCmd mzTestCmd.c: In function 'mzParmsTstCmd': mzTestCmd.c:388:5: warning: implicit declaration of function 'TxMore'; did you mean 'TxUseMore'? [-Wimplicit-function-declaration] TxMore(""); ^~~~~~ TxUseMore mzTestCmd.c: At top level: mzTestCmd.c:536:34: warning: missing braces around initializer [-Wmissing-braces] TestCmdTableE mzTestCommands[] = { ^ "debug", mzDebugTstCmd, { mzTestCmd.c:539:27: "debug [flag] [value]", } mzTestCmd.c:541:5: "dumpEstimates", mzDumpEstimatesTstCmd, { mzTestCmd.c:543:20: "dumpEstimates", } mzTestCmd.c:545:5: "dumpTags", mzDumpTagsTstCmd, { mzTestCmd.c:547:15: "dumpTags", } mzTestCmd.c:549:5: "help", mzHelpTstCmd, { mzTestCmd.c:551:24: "help [subcommand]", } mzTestCmd.c:553:5: "numberLine", mzNumberLineTstCmd, { mzTestCmd.c:555:17: "numberLine", } mzTestCmd.c:557:5: "parms", mzParmsTstCmd, { mzTestCmd.c:559:12: "parms", } mzTestCmd.c:561:5: "plane", mzPlaneTstCmd, { mzTestCmd.c:563:20: "plane [plane]", } mzTestCmd.c:565:5: "version", mzVersionCmd, { mzTestCmd.c:567:14: "version", } mzTestCmd.c:569:6: 0 { }, *mzTestCmdP; } --- compiling mzrouter/mzWalk.o rm -f mzWalk.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c mzWalk.c mzWalk.c: In function 'mzWalkLeft': mzWalk.c:183:16: warning: variable 'rtype' set but not used [-Wunused-but-set-variable] RouteType *rtype; /* Structure of material type at destination */ ^~~~~ mzWalk.c: In function 'mzWalkDown': mzWalk.c:422:16: warning: variable 'rtype' set but not used [-Wunused-but-set-variable] RouteType *rtype; /* Structure of material at destination */ ^~~~~ mzWalk.c: In function 'mzWalkLRContact': mzWalk.c:538:9: warning: unused variable 'extendCode' [-Wunused-variable] int extendCode; /* Interesting directions to extend in */ ^~~~~~~~~~ mzWalk.c: In function 'mzWalkUDContact': mzWalk.c:625:9: warning: unused variable 'extendCode' [-Wunused-variable] int extendCode; /* Interesting directions to extend in */ ^~~~~~~~~~ --- linking libmzrouter.o rm -f libmzrouter.o ld -r mzBlock.o mzDebug.o mzEstimate.o mzXtndDown.o mzXtndLeft.o mzXtndRght.o mzXtndUp.o mzHint.o mzInit.o mzNumLine.o mzMain.o mzSearch.o mzStart.o mzSubrs.o mzTech.o mzTestCmd.o mzWalk.o -o libmzrouter.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/mzrouter' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/router' --- compiling router/rtrCmd.o rm -f rtrCmd.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c rtrCmd.c rtrCmd.c: In function 'CmdGARouterTest': rtrCmd.c:76:5: warning: implicit declaration of function 'GATest'; did you mean 'GXset'? [-Wimplicit-function-declaration] GATest(w, cmd); ^~~~~~ GXset rtrCmd.c: In function 'CmdGRouterTest': rtrCmd.c:103:5: warning: implicit declaration of function 'GlTest'; did you mean 'GXset'? [-Wimplicit-function-declaration] GlTest(w, cmd); ^~~~~~ GXset rtrCmd.c: In function 'CmdIRouterTest': rtrCmd.c:130:5: warning: implicit declaration of function 'IRTest' [-Wimplicit-function-declaration] IRTest(w, cmd); ^~~~~~ rtrCmd.c: In function 'CmdMZRouterTest': rtrCmd.c:157:5: warning: implicit declaration of function 'MZTest' [-Wimplicit-function-declaration] MZTest(w, cmd); ^~~~~~ rtrCmd.c: In function 'CmdChannel': rtrCmd.c:195:2: warning: implicit declaration of function 'TxError'; did you mean 'perror'? [-Wimplicit-function-declaration] TxError("Usage: %s [netlist | -]\n", cmd->tx_argv[0]); ^~~~~~~ perror rtrCmd.c:211:5: warning: implicit declaration of function 'TxPrintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] TxPrintf("\n"); ^~~~~~~~ dprintf rtrCmd.c: In function 'CmdGaRoute': rtrCmd.c:267:16: warning: missing braces around initializer [-Wmissing-braces] } cmds[] = { ^ "channel xl yl xh yh [type]\n\ { channel [type] define a channel", CHANNEL, } "generate type [file] generate channel definition commands", { GEN, } "help print this message", HELP, { } "nowarn only warn if all locations of a terminal\n\ { are unreachable", NOWARN, } "route [netlist] route the current cell",ROUTE, { } "reset clear all channel definitions", RESET, { } "warn leave feedback for each location of a\n\ { terminal that is unreachable", WARN, } 0 { }; } rtrCmd.c:282:5: warning: implicit declaration of function 'GAInit'; did you mean 'NMinit'? [-Wimplicit-function-declaration] GAInit(); ^~~~~~ NMinit rtrCmd.c:325:6: warning: implicit declaration of function 'GAClearChannels'; did you mean 'GCRNewChannel'? [-Wimplicit-function-declaration] GAClearChannels(); ^~~~~~~~~~~~~~~ GCRNewChannel rtrCmd.c:346:30: warning: implicit declaration of function 'GAGenChans' [-Wimplicit-function-declaration] if (channame[0] == 'h') GAGenChans(CHAN_HRIVER, &editArea, f); ^~~~~~~~~~ rtrCmd.c:369:21: warning: implicit declaration of function 'cmdParseCoord'; did you mean 'XParseColor'? [-Wimplicit-function-declaration] editArea.r_xbot = cmdParseCoord(w, cmd->tx_argv[2], FALSE, TRUE); ^~~~~~~~~~~~~ XParseColor rtrCmd.c:391:11: warning: implicit declaration of function 'GADefineChannel'; did you mean 'GCRFreeChannel'? [-Wimplicit-function-declaration] if (!GADefineChannel(chanType, &editArea)) ^~~~~~~~~~~~~~~ GCRFreeChannel rtrCmd.c:407:10: warning: implicit declaration of function 'GARouteCmd'; did you mean 'GCRroute'? [-Wimplicit-function-declaration] n = GARouteCmd(EditCellUse, name); ^~~~~~~~~~ GCRroute rtrCmd.c: In function 'CmdIRoute': rtrCmd.c:448:5: warning: implicit declaration of function 'IRCommand'; did you mean 'XSetCommand'? [-Wimplicit-function-declaration] IRCommand(w,cmd); ^~~~~~~~~ XSetCommand rtrCmd.c: In function 'CmdRoute': rtrCmd.c:563:11: warning: implicit declaration of function 'RtrPaintBack'; did you mean 'RtrPaintStats'? [-Wimplicit-function-declaration] else RtrPaintBack(ch, EditCellUse->cu_def); ^~~~~~~~~~~~ RtrPaintStats rtrCmd.c:714:11: warning: implicit declaration of function 'NLBuild' [-Wimplicit-function-declaration] if ( NLBuild(EditCellUse, &netList)) ^~~~~~~ rtrCmd.c:718:10: warning: implicit declaration of function 'RtrViaMinimize' [-Wimplicit-function-declaration] nvia = RtrViaMinimize(EditCellUse->cu_def); ^~~~~~~~~~~~~~ rtrCmd.c:723:3: warning: implicit declaration of function 'NLFree'; did you mean 'TiFree'? [-Wimplicit-function-declaration] NLFree(&netList); ^~~~~~ TiFree --- compiling router/rtrMain.o rm -f rtrMain.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c rtrMain.c rtrMain.c: In function 'Route': rtrMain.c:102:15: warning: implicit declaration of function 'NLBuild' [-Wimplicit-function-declaration] numNets = NLBuild(routeUse, &netList); ^~~~~~~ rtrMain.c:134:9: warning: implicit declaration of function 'GARoute'; did you mean 'Route'? [-Wimplicit-function-declaration] errs = GARoute(RtrChannelList, routeUse, &netList); ^~~~~~~ Route rtrMain.c:144:5: warning: implicit declaration of function 'NLFree'; did you mean 'TiFree'? [-Wimplicit-function-declaration] NLFree(&netList); ^~~~~~ TiFree rtrMain.c: In function 'rtrMakeChannel': rtrMain.c:194:5: warning: implicit declaration of function 'RtrChannelBounds' [-Wimplicit-function-declaration] RtrChannelBounds(&bbox, &length, &width, &origin); ^~~~~~~~~~~~~~~~ --- compiling router/rtrDcmpose.o rm -f rtrDcmpose.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c rtrDcmpose.c rtrDcmpose.c: In function 'RtrDecomposeName': rtrDcmpose.c:121:6: warning: implicit declaration of function 'NLBuild' [-Wimplicit-function-declaration] if (NLBuild(routeUse, &netList) <= 0) ^~~~~~~ rtrDcmpose.c:131:2: warning: implicit declaration of function 'NLFree'; did you mean 'TiFree'? [-Wimplicit-function-declaration] NLFree(netListPtr); ^~~~~~ TiFree rtrDcmpose.c: In function 'RtrDecompose': rtrDcmpose.c:220:12: warning: implicit declaration of function 'DBCellSrArea'; did you mean 'DBCellSrDefs'? [-Wimplicit-function-declaration] (void) DBCellSrArea(&scx, rtrSrCells, (ClientData) cdTo); ^~~~~~~~~~~~ DBCellSrDefs rtrDcmpose.c: In function 'rtrSrCells': rtrDcmpose.c:321:5: warning: implicit declaration of function 'RtrMilestonePrint' [-Wimplicit-function-declaration] RtrMilestonePrint(); ^~~~~~~~~~~~~~~~~ rtrDcmpose.c: In function 'rtrHashKill': rtrDcmpose.c:430:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (he = HashNext(ht, &hs)) ^~ rtrDcmpose.c: In function 'rtrMarkChannel': rtrDcmpose.c:731:13: warning: implicit declaration of function 'rtrXDist' [-Wimplicit-function-declaration] xDist = rtrXDist(tiles, point->p_x, pos); ^~~~~~~~ rtrDcmpose.c:732:13: warning: implicit declaration of function 'rtrYDist' [-Wimplicit-function-declaration] yDist = rtrYDist(tiles, point, ((corner==rtrNE) || (corner==rtrNW)), plane); ^~~~~~~~ --- compiling router/rtrFdback.o rm -f rtrFdback.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c rtrFdback.c --- compiling router/rtrHazards.o rm -f rtrHazards.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c rtrHazards.c --- compiling router/rtrChannel.o rm -f rtrChannel.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c rtrChannel.c rtrChannel.c: In function 'RtrChannelRoute': rtrChannel.c:102:5: warning: implicit declaration of function 'RtrPinsFixStems'; did you mean 'RtrPaintAllStems'? [-Wimplicit-function-declaration] RtrPinsFixStems(ch); ^~~~~~~~~~~~~~~ RtrPaintAllStems rtrChannel.c:188:2: warning: implicit declaration of function 'gcrSaveChannel'; did you mean 'rtrMakeChannel'? [-Wimplicit-function-declaration] gcrSaveChannel(ch); ^~~~~~~~~~~~~~ rtrMakeChannel rtrChannel.c:190:5: warning: implicit declaration of function 'RtrMilestonePrint' [-Wimplicit-function-declaration] RtrMilestonePrint(); ^~~~~~~~~~~~~~~~~ In file included from rtrChannel.c:31:0: rtrChannel.c: In function 'RtrChannelObstacles': ../database/database.h:1187:20: warning: 'allObs.tt_words[7]' is used uninitialized in this function [-Wuninitialized] ((m)->tt_words[7] |= (n)->tt_words[7] | (o)->tt_words[7]), \ ^~ ../database/database.h:1188:20: warning: 'allObs.tt_words[6]' is used uninitialized in this function [-Wuninitialized] ((m)->tt_words[6] |= (n)->tt_words[6] | (o)->tt_words[6]), \ ^~ ../database/database.h:1189:20: warning: 'allObs.tt_words[5]' is used uninitialized in this function [-Wuninitialized] ((m)->tt_words[5] |= (n)->tt_words[5] | (o)->tt_words[5]), \ ^~ ../database/database.h:1190:20: warning: 'allObs.tt_words[4]' is used uninitialized in this function [-Wuninitialized] ((m)->tt_words[4] |= (n)->tt_words[4] | (o)->tt_words[4]), \ ^~ ../database/database.h:1191:20: warning: 'allObs.tt_words[3]' is used uninitialized in this function [-Wuninitialized] ((m)->tt_words[3] |= (n)->tt_words[3] | (o)->tt_words[3]), \ ^~ ../database/database.h:1192:20: warning: 'allObs.tt_words[2]' is used uninitialized in this function [-Wuninitialized] ((m)->tt_words[2] |= (n)->tt_words[2] | (o)->tt_words[2]), \ ^~ ../database/database.h:1193:20: warning: 'allObs.tt_words[1]' is used uninitialized in this function [-Wuninitialized] ((m)->tt_words[1] |= (n)->tt_words[1] | (o)->tt_words[1]), \ ^~ ../database/database.h:1194:20: warning: 'allObs.tt_words[0]' is used uninitialized in this function [-Wuninitialized] ((m)->tt_words[0] |= (n)->tt_words[0] | (o)->tt_words[0])) ^~ --- compiling router/rtrPaint.o rm -f rtrPaint.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c rtrPaint.c rtrPaint.c: In function 'RtrPaintStats': rtrPaint.c:670:2: warning: implicit declaration of function 'TxPrintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] TxPrintf("Total length %d; Metal %d; Poly %d; Vias %d\n", ^~~~~~~~ dprintf rtrPaint.c: In function 'rtrMetalOkay': rtrPaint.c:586:12: warning: 'pin' may be used uninitialized in this function [-Wmaybe-uninitialized] if (pin->gcr_linked == NULL) ~~~^~~~~~~~~~~~ rtrPaint.c: In function 'rtrMaxMetal': rtrPaint.c:530:8: warning: 'bottom' may be used uninitialized in this function [-Wmaybe-uninitialized] if( (bottom < top) && ^ --- compiling router/rtrPin.o rm -f rtrPin.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c rtrPin.c rtrPin.c: In function 'RtrPinsInit': rtrPin.c:82:5: warning: implicit declaration of function 'rtrPinArrayInit'; did you mean 'rtrPinArrayBlock'? [-Wimplicit-function-declaration] rtrPinArrayInit(ch, GEO_NORTH, ch->gcr_tPins, ch->gcr_length); ^~~~~~~~~~~~~~~ rtrPinArrayBlock rtrPin.c: In function 'rtrPinArrayInit': rtrPin.c:89:1: warning: type of 'side' defaults to 'int' [-Wimplicit-int] rtrPinArrayInit(ch, side, pins, nPins) ^~~~~~~~~~~~~~~ rtrPin.c:170:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (adjacent = (GCRChannel *) tp->ti_client) ^~~~~~~~ rtrPin.c: In function 'RtrPinsLink': rtrPin.c:366:5: warning: implicit declaration of function 'rtrPinArrayLink'; did you mean 'rtrPinArrayInit'? [-Wimplicit-function-declaration] rtrPinArrayLink(ch->gcr_tPins, ch->gcr_length); ^~~~~~~~~~~~~~~ rtrPinArrayInit rtrPin.c: In function 'rtrPinShow': rtrPin.c:426:2: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'long int' [-Wformat=] "ChanType=%d grid=(%d,%d) point=(%d,%d) Net=%"DLONG_PREFIX"d, linked=%p", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rtrPin.c:430:3: (dlong) pin->gcr_pId, pin->gcr_linked); ~~~~~~~~~~~~~~~~~~~~ rtrPin.c:426:61: note: format string is defined here "ChanType=%d grid=(%d,%d) point=(%d,%d) Net=%"DLONG_PREFIX"d, linked=%p", ~~~~~~~~~~~~~~~^ rtrPin.c:401:13: warning: variable 'area' set but not used [-Wunused-but-set-variable] Rect r, area; ^~~~ rtrPin.c: In function 'RtrPinsFixStems': rtrPin.c:467:5: warning: implicit declaration of function 'rtrPinArrayFixStems'; did you mean 'RtrPinsFixStems'? [-Wimplicit-function-declaration] rtrPinArrayFixStems(ch->gcr_tPins, ch->gcr_length); ^~~~~~~~~~~~~~~~~~~ RtrPinsFixStems --- compiling router/rtrSide.o rm -f rtrSide.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c rtrSide.c rtrSide.c: In function 'rtrEnumSides': rtrSide.c:163:2: warning: implicit declaration of function 'DBNewYank'; did you mean 'DBNewPlane'? [-Wimplicit-function-declaration] DBNewYank("__side_def__", &rtrSideTransUse, &rtrSideTransDef); ^~~~~~~~~ DBNewPlane rtrSide.c:176:9: warning: implicit declaration of function 'rtrSideProcess'; did you mean 'rtrSideFunc'? [-Wimplicit-function-declaration] if (rtrSideProcess(use, GEO_EAST, area, &GeoIdentityTransform)) return 1; ^~~~~~~~~~~~~~ rtrSideFunc rtrSide.c: In function 'rtrEnumSidesFunc': rtrSide.c:434:11: warning: implicit declaration of function 'rtrSidePassToClient'; did you mean 'rtrSideInitClient'? [-Wimplicit-function-declaration] if (rtrSidePassToClient(&side)) ^~~~~~~~~~~~~~~~~~~ rtrSideInitClient rtrSide.c:427:13: warning: 'tpB' may be used uninitialized in this function [-Wmaybe-uninitialized] for (tp = BL(tpB); BOTTOM(tp) < ytop; tp = RT(tp)) In file included from rtrSide.c:35:0: ../router/router.h:159:9: warning: 'origin' may be used uninitialized in this function [-Wmaybe-uninitialized] ( ((x)-(o)) % RtrGridSpacing ) \ ^ rtrSide.c:318:36: note: 'origin' was declared here int ybot, ytop, yprev, sep, x, origin; ^~~~~~ --- compiling router/rtrStem.o rm -f rtrStem.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c rtrStem.c rtrStem.c:66:14: warning: missing braces around initializer [-Wmissing-braces] dirs[] = { GEO_NORTH, GEO_SOUTH, GEO_EAST, GEO_WEST, 0 }; ^ rtrStem.c: In function 'RtrStemProcessAll': rtrStem.c:143:5: warning: implicit declaration of function 'RtrMilestoneStart' [-Wimplicit-function-declaration] RtrMilestoneStart("Assigning stems"); ^~~~~~~~~~~~~~~~~ rtrStem.c:199:2: warning: implicit declaration of function 'RtrMilestonePrint' [-Wimplicit-function-declaration] RtrMilestonePrint(); ^~~~~~~~~~~~~~~~~ rtrStem.c:203:5: warning: implicit declaration of function 'RtrMilestoneDone' [-Wimplicit-function-declaration] RtrMilestoneDone(); ^~~~~~~~~~~~~~~~ rtrStem.c: In function 'RtrStemAssignExt': rtrStem.c:355:20: warning: statement with no effect [-Wunused-value] loc->nloc_chan == (GCRChannel *) NULL; ^ rtrStem.c:370:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pin = rtrStemTip(loc, &si, use)) ^~~ rtrStem.c: In function 'rtrStemTip': rtrStem.c:476:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pin = rtrStemTryPin(loc, si->stem_dir, &si->stem_start, use)) ^~~ rtrStem.c: In function 'rtrTreeSrArea': rtrStem.c:654:21: warning: unused variable 'tmp2' [-Wunused-variable] Rect tmp, tmp1, tmp2; ^~~~ rtrStem.c: In function 'rtrStemRange': rtrStem.c:835:18: warning: implicit declaration of function 'rtrStemContactLine'; did you mean 'rtrStemExpandFunc'? [-Wimplicit-function-declaration] center.p_x = rtrStemContactLine(area->r_xbot, area->r_xtop, RtrOrigin.p_x); ^~~~~~~~~~~~~~~~~~ rtrStemExpandFunc rtrStem.c: In function 'rtrStemSearch': rtrStem.c:949:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ch = (GCRChannel *) tile->ti_client) ^~ rtrStem.c: In function 'RtrStemPaintExt': rtrStem.c:1061:5: warning: implicit declaration of function 'rtrStemTypes'; did you mean 'rtrStemTip'? [-Wimplicit-function-declaration] rtrStemTypes(&startMask, &finalMask, &startType, &finalType); ^~~~~~~~~~~~ rtrStemTip rtrStem.c: In function 'RtrComputeJogs': rtrStem.c:1237:1: warning: type of 'dir' defaults to 'int' [-Wimplicit-int] RtrComputeJogs(loc, stem, dir, contact, jog, start, width) ^~~~~~~~~~~~~~ rtrStem.c:1237:1: warning: type of 'width' defaults to 'int' [-Wimplicit-int] rtrStem.c: In function 'rtrStemTip': rtrStem.c:486:35: warning: 'hi' may be used uninitialized in this function [-Wmaybe-uninitialized] for ( ; *lo >= si->stem_lo || *hi <= si->stem_hi; ^~~ rtrStem.c:487:10: warning: 'lo' may be used uninitialized in this function [-Wmaybe-uninitialized] *lo -= RtrGridSpacing, *hi += RtrGridSpacing) ^~ --- compiling router/rtrTech.o rm -f rtrTech.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c rtrTech.c --- compiling router/rtrVia.o rm -f rtrVia.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c rtrVia.c rtrVia.c: In function 'rtrFollowLocFunc': rtrVia.c:122:12: warning: implicit declaration of function 'rtrSrTraverse' [-Wimplicit-function-declaration] (void) rtrSrTraverse(def, &initialArea, ^~~~~~~~~~~~~ rtrVia.c: In function 'rtrFollowName': rtrVia.c:159:2: warning: implicit declaration of function 'RtrMilestonePrint' [-Wimplicit-function-declaration] RtrMilestonePrint("#"); ^~~~~~~~~~~~~~~~~ --- compiling router/rtrTravers.o rm -f rtrTravers.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c rtrTravers.c rtrTravers.c: In function 'rtrExamineStack': rtrTravers.c:527:6: warning: implicit declaration of function 'rtrListVia' [-Wimplicit-function-declaration] rtrListVia (tp[0]); ^~~~~~~~~~ rtrTravers.c:528:6: warning: implicit declaration of function 'rtrListArea'; did you mean 'DBSrPaintArea'? [-Wimplicit-function-declaration] rtrListArea(tp[1], rtrReplace, rtrTarget, deltax, deltay); ^~~~~~~~~~~ DBSrPaintArea --- linking librouter.o rm -f librouter.o ld -r rtrCmd.o rtrMain.o rtrDcmpose.o rtrFdback.o rtrHazards.o rtrChannel.o rtrPaint.o rtrPin.o rtrSide.o rtrStem.o rtrTech.o rtrVia.o rtrTravers.o -o librouter.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/router' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/gcr' --- compiling gcr/gcrChannel.o rm -f gcrChannel.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c gcrChannel.c --- compiling gcr/gcrColl.o rm -f gcrColl.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c gcrColl.c gcrColl.c: In function 'gcrCollapse': gcrColl.c:94:6: warning: implicit declaration of function 'gcrVertClear' [-Wimplicit-function-declaration] if( gcrVertClear( *col, i, to) ) ^~~~~~~~~~~~ gcrColl.c:103:10: warning: implicit declaration of function 'gcrMoveTrack' [-Wimplicit-function-declaration] gcrMoveTrack(newCol, net, to, i); ^~~~~~~~~~~~ gcrColl.c: In function 'gcrEvalPat': gcrColl.c:205:34: warning: implicit declaration of function 'gcrNextSplit' [-Wimplicit-function-declaration] gcrNthSplit[++gcrSplitNets]=gcrNextSplit(gcrBestCol, size, i); ^~~~~~~~~~~~ gcrColl.c: In function 'gcrReduceRange': gcrColl.c:347:6: warning: implicit declaration of function 'gcrBlocked'; did you mean 'getc_unlocked'? [-Wimplicit-function-declaration] if(gcrBlocked(col, j, net, width)) ^~~~~~~~~~ getc_unlocked --- compiling gcr/gcrDebug.o rm -f gcrDebug.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c gcrDebug.c gcrDebug.c: In function 'GCRRouteFromFile': gcrDebug.c:77:10: warning: unused variable 'box' [-Wunused-variable] Rect box; ^~~ gcrDebug.c:75:15: warning: unused variable 'trans' [-Wunused-variable] Transform trans; ^~~~~ gcrDebug.c: In function 'gcrMakePinLR': gcrDebug.c:256:20: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'dlong * {aka long int *}' [-Wformat=] (void) fscanf(fp, "%"DLONG_PREFIX"d", &pointer_bits); ^~~ ~~~~~~~~~~~~~ gcrDebug.c:256:36: note: format string is defined here (void) fscanf(fp, "%"DLONG_PREFIX"d", &pointer_bits); ~~~~~~~~~~~~~~~^ gcrDebug.c: In function 'gcrPrintCol': gcrDebug.c:638:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if ((res[i][j] & GCRU) || j != 0 && (res[i][j-1] & GCRU)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ gcrDebug.c: In function 'gcrCheckCol': gcrDebug.c:897:9: warning: implicit declaration of function 'niceabort' [-Wimplicit-function-declaration] niceabort(); ^~~~~~~~~ gcrDebug.c: In function 'gcrMakePinLR': gcrDebug.c:256:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] (void) fscanf(fp, "%"DLONG_PREFIX"d", &pointer_bits); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcrDebug.c: In function 'gcrShowMap': gcrDebug.c:1000:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets(buff, 512, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling gcr/gcrEdge.o rm -f gcrEdge.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c gcrEdge.c gcrEdge.c: In function 'gcrUncollapse': gcrEdge.c:176:7: warning: implicit declaration of function 'gcrBlocked'; did you mean 'gcrWanted'? [-Wimplicit-function-declaration] if (gcrBlocked(*col, to, net, hnet != (*col)[i].gcr_wanted)) ^~~~~~~~~~ gcrWanted gcrEdge.c:252:7: warning: implicit declaration of function 'gcrMoveTrack' [-Wimplicit-function-declaration] gcrMoveTrack(newCol, net, to, i); ^~~~~~~~~~~~ gcrEdge.c:256:7: warning: implicit declaration of function 'gcrLinkTrack' [-Wimplicit-function-declaration] gcrLinkTrack(newCol, net, to, width); ^~~~~~~~~~~~ gcrEdge.c:273:5: warning: implicit declaration of function 'gcrEvalPat' [-Wimplicit-function-declaration] gcrEvalPat(col, split, width); ^~~~~~~~~~ gcrEdge.c:265:6: warning: 'extra' may be used uninitialized in this function [-Wmaybe-uninitialized] gcrUncollapse(ch, &newCol, width, to, top, split+extra); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcrEdge.c:249:6: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] switch (type) ^~~~~~ --- compiling gcr/gcrFeas.o rm -f gcrFeas.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c gcrFeas.c gcrFeas.c: In function 'gcrFeasible': gcrFeas.c:78:5: warning: implicit declaration of function 'gcrUnlinkPin' [-Wimplicit-function-declaration] gcrUnlinkPin(&ch->gcr_bPins[col]); ^~~~~~~~~~~~ gcrFeas.c:90:9: warning: implicit declaration of function 'gcrBlocked'; did you mean 'getc_unlocked'? [-Wimplicit-function-declaration] if(gcrBlocked(column, i, topNet, 0)) ^~~~~~~~~~ getc_unlocked gcrFeas.c:132:2: warning: implicit declaration of function 'gcrMoveTrack' [-Wimplicit-function-declaration] gcrMoveTrack(column, topNet, ch->gcr_width+1, 0); ^~~~~~~~~~~~ gcrFeas.c:147:6: warning: implicit declaration of function 'gcrWanted' [-Wimplicit-function-declaration] gcrWanted(ch, topTarget, col); ^~~~~~~~~ gcrFeas.c:181:2: warning: implicit declaration of function 'RtrChannelError' [-Wimplicit-function-declaration] RtrChannelError(ch, col, ch->gcr_width, ^~~~~~~~~~~~~~~ gcrFeas.c:176:6: warning: 'botTarget' may be used uninitialized in this function [-Wmaybe-uninitialized] gcrWanted(ch, botTarget, col); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcrFeas.c:141:44: warning: 'topTarget' may be used uninitialized in this function [-Wmaybe-uninitialized] if( !(failedBot) && (topNet!=(GCRNet *) NULL) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ !(failedTop) && (botNet!=(GCRNet *) NULL) && (botTarget>=topTarget) ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling gcr/gcrFlags.o rm -f gcrFlags.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c gcrFlags.c --- compiling gcr/gcrInit.o rm -f gcrInit.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c gcrInit.c gcrInit.c: In function 'gcrUnlinkPin': gcrInit.c:239:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (net = pin->gcr_pId) ^~~ gcrInit.c: In function 'gcrInitCol': gcrInit.c:397:2: warning: implicit declaration of function 'gcrWanted' [-Wimplicit-function-declaration] gcrWanted(ch, i, 0); ^~~~~~~~~ --- compiling gcr/gcrLib.o rm -f gcrLib.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c gcrLib.c --- compiling gcr/gcrRiver.o rm -f gcrRiver.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c gcrRiver.c --- compiling gcr/gcrRoute.o rm -f gcrRoute.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c gcrRoute.c gcrRoute.c: In function 'GCRroute': gcrRoute.c:73:9: warning: implicit declaration of function 'gcrRiverRoute' [-Wimplicit-function-declaration] if (gcrRiverRoute(ch)) ^~~~~~~~~~~~~ gcrRoute.c:76:5: warning: implicit declaration of function 'gcrBuildNets' [-Wimplicit-function-declaration] gcrBuildNets(ch); ^~~~~~~~~~~~ gcrRoute.c:80:5: warning: implicit declaration of function 'gcrSetEndDist' [-Wimplicit-function-declaration] gcrSetEndDist(ch); ^~~~~~~~~~~~~ gcrRoute.c:81:15: warning: implicit declaration of function 'gcrDensity' [-Wimplicit-function-declaration] density = gcrDensity(ch); ^~~~~~~~~~ gcrRoute.c:82:32: warning: "/*" within comment [-Wcomment] /* gcrPrDensity(ch, density); /* Debugging */ gcrRoute.c:87:2: warning: implicit declaration of function 'RtrChannelError' [-Wimplicit-function-declaration] RtrChannelError(ch, ch->gcr_width, ch->gcr_length, mesg, NULL); ^~~~~~~~~~~~~~~ gcrRoute.c:90:5: warning: implicit declaration of function 'gcrInitCollapse' [-Wimplicit-function-declaration] gcrInitCollapse(ch->gcr_width + 2); ^~~~~~~~~~~~~~~ gcrRoute.c:91:5: warning: implicit declaration of function 'gcrSetFlags' [-Wimplicit-function-declaration] gcrSetFlags(ch); ^~~~~~~~~~~ gcrRoute.c:94:5: warning: implicit declaration of function 'gcrInitCol'; did you mean 'gcrRouteCol'? [-Wimplicit-function-declaration] gcrInitCol(ch, ch->gcr_lPins); ^~~~~~~~~~ gcrRouteCol gcrRoute.c:96:5: warning: implicit declaration of function 'gcrPrintCol'; did you mean 'gcrRouteCol'? [-Wimplicit-function-declaration] gcrPrintCol(ch, 0, GcrShowResult); ^~~~~~~~~~~ gcrRouteCol gcrRoute.c:120:5: warning: implicit declaration of function 'gcrDumpResult' [-Wimplicit-function-declaration] gcrDumpResult(ch, GcrShowEnd); ^~~~~~~~~~~~~ gcrRoute.c: In function 'gcrRouteCol': gcrRoute.c:161:5: warning: implicit declaration of function 'gcrCheckCol'; did you mean 'gcrRouteCol'? [-Wimplicit-function-declaration] gcrCheckCol(ch, indx, "Start of gcrRouteCol"); ^~~~~~~~~~~ gcrRouteCol gcrRoute.c:162:5: warning: implicit declaration of function 'gcrFeasible' [-Wimplicit-function-declaration] gcrFeasible(ch, indx); ^~~~~~~~~~~ gcrRoute.c:168:2: warning: implicit declaration of function 'gcrMarkWanted' [-Wimplicit-function-declaration] gcrMarkWanted(ch); ^~~~~~~~~~~~~ gcrRoute.c:171:5: warning: implicit declaration of function 'gcrCollapse' [-Wimplicit-function-declaration] gcrCollapse(&ch->gcr_lCol, ch->gcr_width, 1, ch->gcr_width, 0); ^~~~~~~~~~~ gcrRoute.c:172:5: warning: implicit declaration of function 'gcrPickBest' [-Wimplicit-function-declaration] gcrPickBest(ch); ^~~~~~~~~~~ gcrRoute.c:178:5: warning: implicit declaration of function 'gcrReduceRange' [-Wimplicit-function-declaration] gcrReduceRange(col, ch->gcr_width); ^~~~~~~~~~~~~~ gcrRoute.c:182:5: warning: implicit declaration of function 'gcrVacate' [-Wimplicit-function-declaration] gcrVacate(ch, indx); ^~~~~~~~~ gcrRoute.c:187:5: warning: implicit declaration of function 'gcrMakeRuns' [-Wimplicit-function-declaration] gcrMakeRuns(ch, indx, list, count, TRUE); ^~~~~~~~~~~ gcrRoute.c:193:2: warning: implicit declaration of function 'gcrUncollapse' [-Wimplicit-function-declaration] gcrUncollapse(ch, &ch->gcr_lCol, ch->gcr_width, 1, ch->gcr_width, 0); ^~~~~~~~~~~~~ --- compiling gcr/gcrShwFlgs.o rm -f gcrShwFlgs.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c gcrShwFlgs.c gcrShwFlgs.c: In function 'GCRShow': gcrShwFlgs.c:126:12: warning: implicit declaration of function 'Lookup' [-Wimplicit-function-declaration] mask = Lookup(arg, GCRFlagNames); ^~~~~~ --- compiling gcr/gcrUnsplit.o rm -f gcrUnsplit.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c gcrUnsplit.c gcrUnsplit.c: In function 'gcrVacate': gcrUnsplit.c:101:6: warning: implicit declaration of function 'gcrLook' [-Wimplicit-function-declaration] to=gcrLook(ch, i, TRUE); ^~~~~~~ gcrUnsplit.c:119:2: warning: implicit declaration of function 'gcrShellSort' [-Wimplicit-function-declaration] gcrShellSort(list, count, TRUE); ^~~~~~~~~~~~ gcrUnsplit.c: In function 'gcrLook': gcrUnsplit.c:177:9: warning: implicit declaration of function 'gcrClass'; did you mean 'getpass'? [-Wimplicit-function-declaration] dir=gcrClass(net, track); ^~~~~~~~ getpass gcrUnsplit.c: In function 'gcrClassify': gcrUnsplit.c:325:29: warning: implicit declaration of function 'gcrRealDist' [-Wimplicit-function-declaration] col[i].gcr_h->gcr_sortKey=gcrRealDist(col, i, dist); ^~~~~~~~~~~ gcrUnsplit.c: In function 'gcrMakeRuns': gcrUnsplit.c:475:8: warning: implicit declaration of function 'gcrTryRun'; did you mean 'gcrMakeRuns'? [-Wimplicit-function-declaration] runTo=gcrTryRun(ch, net, from, to, column); ^~~~~~~~~ gcrMakeRuns gcrUnsplit.c:496:3: warning: implicit declaration of function 'gcrMoveTrack' [-Wimplicit-function-declaration] gcrMoveTrack(col, net, from, runTo); ^~~~~~~~~~~~ gcrUnsplit.c:506:2: warning: implicit declaration of function 'gcrCheckCol' [-Wimplicit-function-declaration] gcrCheckCol(ch, column, "gcrMakeRuns"); ^~~~~~~~~~~ --- linking libgcr.o rm -f libgcr.o ld -r gcrChannel.o gcrColl.o gcrDebug.o gcrEdge.o gcrFeas.o gcrFlags.o gcrInit.o gcrLib.o gcrRiver.o gcrRoute.o gcrShwFlgs.o gcrUnsplit.o -o libgcr.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/gcr' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/tcltk' --- compiling tcltk/tclmagic.o rm -f tclmagic.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DMAGIC_DATE="\"`date`\"" -c tclmagic.c tclmagic.c: In function '_tcl_dispatch': tclmagic.c:332:7: warning: typedef 'conflictCommand' locally defined but not used [-Wunused-local-typedefs] } conflictCommand; ^~~~~~~~~~~~~~~ tclmagic.c: In function '_tk_dispatch': tclmagic.c:444:11: warning: unused variable 'tkpath' [-Wunused-variable] char *tkpath; ^~~~~~ tclmagic.c: In function '_magic_initialize': tclmagic.c:538:9: warning: implicit declaration of function 'mainInitBeforeArgs'; did you mean 'Tk_InitImageArgs'? [-Wimplicit-function-declaration] if (mainInitBeforeArgs(argc, argv) != 0) goto magicfatal; ^~~~~~~~~~~~~~~~~~ Tk_InitImageArgs tclmagic.c:539:9: warning: implicit declaration of function 'mainDoArgs'; did you mean 'mainDebug'? [-Wimplicit-function-declaration] if (mainDoArgs(argc, argv) != 0) goto magicfatal; ^~~~~~~~~~ mainDebug tclmagic.c:560:9: warning: implicit declaration of function 'mainInitAfterArgs' [-Wimplicit-function-declaration] if (mainInitAfterArgs() != 0) goto magicfatal; ^~~~~~~~~~~~~~~~~ tclmagic.c:515:9: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ tclmagic.c:511:12: warning: unused variable 'i' [-Wunused-variable] int n, i; ^ tclmagic.c: In function '_magic_startup': tclmagic.c:725:9: warning: implicit declaration of function 'mainInitFinal' [-Wimplicit-function-declaration] if (mainInitFinal() != 0) ^~~~~~~~~~~~~ tclmagic.c: In function 'TxGetLinePfix': tclmagic.c:868:9: warning: unused variable 'charsStored' [-Wunused-variable] int charsStored, length; ^~~~~~~~~~~ tclmagic.c: In function 'TxDispatch': tclmagic.c:932:2: warning: implicit declaration of function 'txGetFileCommand'; did you mean 'TxFreeCommand'? [-Wimplicit-function-declaration] txGetFileCommand(f, NULL); ^~~~~~~~~~~~~~~~ TxFreeCommand tclmagic.c: In function 'Tcl_printf': tclmagic.c:1017:41: warning: unused variable 'limit' [-Wunused-variable] int i, nchars, result, escapes = 0, limit; ^~~~~ tclmagic.c: In function 'TerminalInputProc': tclmagic.c:1149:20: warning: unused variable 'i' [-Wunused-variable] int bytesRead, i, tlen; ^ tclmagic.c: In function '_tk_dispatch': tclmagic.c:445:11: warning: 'arg0' may be used uninitialized in this function [-Wmaybe-uninitialized] char *arg0; ^~~~ --- linking libtcltk.o rm -f libtcltk.o ld -r tclmagic.o -o libtcltk.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/tcltk' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/magic' --- compiling magic/magicTop.o rm -f magicTop.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DMAGIC_DATE="\"`date`\"" -DCAD_DIR="/usr/lib64" -c magicTop.c :0:0: warning: "CAD_DIR" redefined :0:0: note: this is the location of the previous definition magicTop.c: In function 'main': magicTop.c:53:5: warning: implicit declaration of function 'magicMain'; did you mean 'mallocMagic'? [-Wimplicit-function-declaration] magicMain(argc, argv); ^~~~~~~~~ mallocMagic --- linking libmagic.o rm -f libmagic.o ld -r magicTop.o -o libmagic.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/magic' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/net2ir' --- compiling net2ir/net2ir.o rm -f net2ir.o 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -c net2ir.c net2ir.c: In function 'main': net2ir.c:49:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ net2ir.c:122:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (cp = strchr(line1, '\n')) ^~ --- linking libnet2ir.o rm -f libnet2ir.o ld -r net2ir.o -o libnet2ir.o make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/net2ir' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/tcltk' make[2]: Nothing to be done for 'module'. make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/tcltk' --- making Tcl shared libraries for dir in magic net2ir tcltk; do \ (cd $dir && make tcl-main); done make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/magic' --- making magic Tcl library (tclmagic.so) rm -f tclmagic.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 -Wimplicit-int -fPIC -I. -I.. -o tclmagic.so -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,tclmagic.so -Wl,--version-script=../magic/symbol.map \ ../cmwind/libcmwind.o ../commands/libcommands.o ../database/libdatabase.o ../dbwind/libdbwind.o ../drc/libdrc.o ../debug/libdebug.o ../extract/libextract.o ../graphics/libgraphics.o ../select/libselect.o ../textio/libtextio.o ../tiles/libtiles.o ../windows/libwindows.o ../wiring/libwiring.o ../resis/libresis.o ../sim/libsim.o ../netmenu/libnetmenu.o ../plow/libplow.o ../utils/libutils.o ../ext2sim/libext2sim.o ../ext2spice/libext2spice.o ../calma/libcalma.o ../cif/libcif.o ../plot/libplot.o ../lef/liblef.o ../extflat/libextflat.o ../garouter/libgarouter.o ../mzrouter/libmzrouter.o ../router/librouter.o ../irouter/libirouter.o ../grouter/libgrouter.o ../gcr/libgcr.o ../tcltk/libtcltk.o \ -lc -lX11 -lGL -lGLU -lXi -lXmu -lXext -lm -lcairo -lstdc++ -lm -L/usr/lib64 -ltkstub8.6 -L/usr/lib64 -ltclstub8.6 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gcc -E -x c -DX11 -DXLIB -DOGL -DCAIRO -DNDEBUG -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -DMAGIC_DATE="\"`date`\"" -DCAD_DIR="/usr/lib64" proto.magicrc.in > proto.magicrc :0:0: warning: "CAD_DIR" redefined :0:0: note: this is the location of the previous definition proto.magicrc.in:1:3: error: invalid preprocessing directive #$ # $(CAD_ROOT)/magic/sys/.magicrc ^ proto.magicrc.in:2:4: error: invalid preprocessing directive #System # System wide start up file for magic, defines default macros. ^~~~~~ proto.magicrc.in:5:3: error: invalid preprocessing directive #Source # Source file proto.magicrc.in ^~~~~~ proto.magicrc.in:6:3: error: invalid preprocessing directive #Process # Process this file with the cpp macro processor ^~~~~~~ proto.magicrc.in:13:4: error: invalid preprocessing directive #Default # Default .magicrc macro file (new macros) ^~~~~~~ proto.magicrc.in:15:3: error: invalid preprocessing directive #A # A key ^ proto.magicrc.in:19:3: error: invalid preprocessing directive #B # B key ^ proto.magicrc.in:22:3: error: invalid preprocessing directive #C # C key ^ proto.magicrc.in:24:3: error: invalid preprocessing directive #D # D key ^ proto.magicrc.in:27:3: error: invalid preprocessing directive #E # E key ^ proto.magicrc.in:29:3: error: invalid preprocessing directive #F # F key ^ proto.magicrc.in:32:3: error: invalid preprocessing directive #G # G key ^ proto.magicrc.in:35:3: error: invalid preprocessing directive #I # I key ^ proto.magicrc.in:41:3: error: invalid preprocessing directive #L # L key ^ proto.magicrc.in:50:3: error: invalid preprocessing directive #M # M key ^ proto.magicrc.in:53:3: error: invalid preprocessing directive #N # N key ^ proto.magicrc.in:55:3: error: invalid preprocessing directive #O # O key ^ proto.magicrc.in:58:3: error: invalid preprocessing directive #P # P key ^ proto.magicrc.in:65:3: error: invalid preprocessing directive #Q # Q key ^ proto.magicrc.in:69:3: error: invalid preprocessing directive #R # R key ^ proto.magicrc.in:73:3: error: invalid preprocessing directive #S # S key ^ proto.magicrc.in:80:3: error: invalid preprocessing directive #U # U key ^ proto.magicrc.in:83:3: error: invalid preprocessing directive #V # V key ^ proto.magicrc.in:86:3: error: invalid preprocessing directive #W # W key ^ proto.magicrc.in:89:3: error: invalid preprocessing directive #X # X key ^ proto.magicrc.in:93:3: error: invalid preprocessing directive #Z # Z key ^ proto.magicrc.in:100:3: error: invalid preprocessing directive #Question # Question mark ^~~~~~~~ proto.magicrc.in:103:3: error: invalid preprocessing directive #Comma # Comma key ^~~~~ proto.magicrc.in:105:3: error: invalid preprocessing directive #Exclamation # Exclamation mark ^~~~~~~~~~~ proto.magicrc.in:109:3: error: invalid preprocessing directive #Space # Space bar ^~~~~ proto.magicrc.in:111:3: error: invalid preprocessing directive #Colon # Colon and semicolon (interactive command) ^~~~~ proto.magicrc.in:117:3: error: invalid preprocessing directive #Arrow # Arrow keys (X11 versions only) ^~~~~ proto.magicrc.in:134:3: error: invalid preprocessing directive #Keypad # Keypad keys (X11 versions only) ^~~~~~ proto.magicrc.in:135:3: error: invalid preprocessing directive #Functions # Functions duplicated for use both with Num_Lock ON and OFF ^~~~~~~~~ proto.magicrc.in:167:3: error: invalid preprocessing directive #Scroll # Scroll wheel bindings ^~~~~~ proto.magicrc.in:170:3: error: invalid preprocessing directive #Quick # Quick macro function keys for scmos tech (X11 versions only) ^~~~~ proto.magicrc.in:233:3: error: invalid preprocessing directive #Allow # Allow some box manipulation from all tools. ^~~~~ proto.magicrc.in:238:3: error: invalid preprocessing directive #Box # Box tool button bindings ^~~ proto.magicrc.in:257:3: error: invalid preprocessing directive #Color # Color window button bindings ^~~~~ proto.magicrc.in:265:3: error: invalid preprocessing directive #Netlist # Netlist window button bindings ^~~~~~~ proto.magicrc.in:269:3: error: invalid preprocessing directive #Wind3D # Wind3D window key bindings ^~~~~~ proto.magicrc.in:298:3: error: invalid preprocessing directive #Load # Load basic set of fonts ^~~~ proto.magicrc.in:304:3: error: invalid preprocessing directive #Additions # Additions for Tcl GUI wrapper ^~~~~~~~~ make[2]: *** [Makefile:42: proto.magicrc] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/magic' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/net2ir' echo "Nothing to do here" Nothing to do here make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/net2ir' make[2]: Entering directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/tcltk' 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld magicexec.c \ -o magicexec -L/usr/lib64 -ltk8.6 -L/usr/lib64 -ltcl8.6 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 -Wimplicit-int -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/magic/tcl\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"39\" -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 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DGCORE=\"no\" -DSHDLIB_EXT=\".so\" -DNDEBUG -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld magicdnull.c \ -o magicdnull -L/usr/lib64 -ltk8.6 -L/usr/lib64 -ltcl8.6 sed -e /TCL_DIR/s%TCL_DIR%/usr/lib64/magic/tcl%g \ -e /MAGIC_VERSION/s%MAGIC_VERSION%8.2%g \ -e /MAGIC_REVISION/s%MAGIC_REVISION%39%g \ -e /SHDLIB_EXT/s%SHDLIB_EXT%.so%g magic.tcl.in > magic.tcl sed -e /TCL_DIR/s%TCL_DIR%/usr/lib64/magic/tcl%g \ -e /TCLLIB_DIR/s%TCLLIB_DIR%/usr/lib64%g \ -e /WISH_EXE/s%WISH_EXE%/usr/bin/wish%g magic.sh.in > magic.sh sed -e /TCL_DIR/s%TCL_DIR%/usr/lib64/magic/tcl%g ext2spice.sh.in > ext2spice.sh sed -e /TCL_DIR/s%TCL_DIR%/usr/lib64/magic/tcl%g ext2sim.sh.in > ext2sim.sh make[2]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39/tcltk' make[1]: Leaving directory '/builddir/build/BUILD/magic-8.2.39/magic-8.2.39' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LSVfGr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64 + cd magic-8.2.39 + cd magic-8.2.39 + make install DESTDIR=/builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64 'INSTALL=/usr/bin/install -c -p' 'CP=/usr/bin/cp -p' --- installing executable to /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/bin --- installing runtime files to /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/lib64 + desktop-file-install --vendor '' --dir /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/share/applications/ /builddir/build/SOURCES/magic.desktop /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/share/applications/magic.desktop: error: (will be fatal in the future): value "magic.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path + cp -pr README README.Tcl TODO VERSION scmos/ .. + cp -pr /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/lib64/magic/doc/ /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/lib64/magic/tutorial .. + rm -rf /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/lib64/magic/doc/ /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/lib64/magic/tutorial + rm -f doc/html/Makefile + chmod -x /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/lib64/magic/tcl/console.tcl + mkdir -p /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/share/icons/hicolor/128x128/apps/ + install -cpm 0644 /builddir/build/SOURCES/magic.png /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/share/icons/hicolor/128x128/apps/magic.png + rm -f /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/share/man/man1/extcheck.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: magic-8.2.39-1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rMo20i + umask 022 + cd /builddir/build/BUILD + cd magic-8.2.39 + DOCDIR=/builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/share/doc/magic + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/share/doc/magic + cp -pr README README.Tcl /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/share/doc/magic + cp -pr TODO /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/share/doc/magic + cp -pr VERSION /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/share/doc/magic + exit 0 Provides: application() application(magic.desktop) magic = 8.2.39-1.fc28 magic(riscv-64) = 8.2.39-1.fc28 mimehandler(application/mag) Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires: /bin/bash /bin/sh /usr/bin/tclsh /usr/bin/wish ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libGL.so.1()(64bit) libGLU.so.1()(64bit) libX11.so.6()(64bit) libXext.so.6()(64bit) libXi.so.6()(64bit) libXmu.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcairo.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libtcl8.6.so()(64bit) libtk8.6.so()(64bit) rtld(GNU_HASH) Processing files: magic-doc-8.2.39-1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mFWaxh + umask 022 + cd /builddir/build/BUILD + cd magic-8.2.39 + DOCDIR=/builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/share/doc/magic-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/share/doc/magic-doc + cp -pr doc/ /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/share/doc/magic-doc + cp -pr tutorial/ /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/share/doc/magic-doc + cp -pr scmos/ /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64/usr/share/doc/magic-doc + exit 0 Provides: magic-doc = 8.2.39-1.fc28 magic-doc(riscv-64) = 8.2.39-1.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64 Wrote: /builddir/build/SRPMS/magic-8.2.39-1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/magic-8.2.39-1.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/magic-doc-8.2.39-1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eLCjBl + umask 022 + cd /builddir/build/BUILD + cd magic-8.2.39 + /usr/bin/rm -rf /builddir/build/BUILDROOT/magic-8.2.39-1.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff