=> Bootstrap dependency digest>=20010302: found digest-20111104
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for xcircuit-3.4.26
make: "/scratch/cad/xcircuit/work/xcircuit-3.4.26/Makefile" line 792: warning: duplicate script for target "all-recursive" ignored
make: "/scratch/cad/xcircuit/work/xcircuit-3.4.26/Makefile" line 431: warning: using previous script for "all-recursive" defined here
make: "/scratch/cad/xcircuit/work/xcircuit-3.4.26/Makefile" line 795: warning: duplicate script for target "install-recursive" ignored
make: "/scratch/cad/xcircuit/work/xcircuit-3.4.26/Makefile" line 431: warning: using previous script for "install-recursive" defined here
Making tcl library object
list=''; for subdir in $list; do  test "$subdir" = . || (echo "Making tcl in $subdir";  cd $subdir && /usr/bin/make )  done
/usr/bin/make lib/tcl/xcircuit.so
make: "/scratch/cad/xcircuit/work/xcircuit-3.4.26/Makefile" line 792: warning: duplicate script for target "all-recursive" ignored
make: "/scratch/cad/xcircuit/work/xcircuit-3.4.26/Makefile" line 431: warning: using previous script for "all-recursive" defined here
make: "/scratch/cad/xcircuit/work/xcircuit-3.4.26/Makefile" line 795: warning: duplicate script for target "install-recursive" ignored
make: "/scratch/cad/xcircuit/work/xcircuit-3.4.26/Makefile" line 431: warning: using previous script for "install-recursive" defined here
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.4\" -DPROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_LIBM=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DDOUBLEBUFFER=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1  -DPROG_VERSION=3.4  -DPROG_REVISION=26  -DCAD_DIR=\"/usr/pkg/lib\"  -DTEMP_DIR=\"/tmp\"  -DRESOURCES_DIR=\"/usr/pkg/lib/xcircuit-3.4/app-defaults\"  -DBUILTINS_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DBUILTINS_FILE=\"\"  -DUSER_RC_FILE=\".xcircuitrc\"  -DPROLOGUE_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DPROLOGUE_FILE=\"xcircps2.pro\"  -DSTARTUP_FILE=\"../startup.script\"  -DLGF_LIB=\"lgf.lps\" -I. -I. -IXw -I/usr/pkg/include   -I/usr/pkg/include -I/usr/include  -fPIC -O2 -I/usr/pkg/include -I/usr/include -Wno-pointer-sign -fPIC -c menudep.c
menudep.c:170:4: warning: implicit declaration of function 'execvp' is invalid in C99 [-Wimplicit-function-declaration]
   execvp(argv[0], argv);
   ^
menudep.c:171:4: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))'
   exit(0);
   ^
menudep.c:171:4: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
2 warnings generated.
gcc -o menudep menudep.o
./menudep
gcc -I/usr/pkg/include -I/usr/include -fPIC -O2 -I/usr/pkg/include -I/usr/include -Wno-pointer-sign -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.4\" -DPROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_LIBM=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DDOUBLEBUFFER=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1  -DPROG_VERSION=3.4  -DPROG_REVISION=26  -DCAD_DIR=\"/usr/pkg/lib\"  -DTEMP_DIR=\"/tmp\"  -DRESOURCES_DIR=\"/usr/pkg/lib/xcircuit-3.4/app-defaults\"  -DBUILTINS_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DBUILTINS_FILE=\"\"  -DUSER_RC_FILE=\".xcircuitrc\"  -DPROLOGUE_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DPROLOGUE_FILE=\"xcircps2.pro\"  -DSTARTUP_FILE=\"../startup.script\"  -DLGF_LIB=\"lgf.lps\" -DPROG_VERSION=3.4  -DPROG_REVISION=26  -DCAD_DIR=\"/usr/pkg/lib\"  -DTEMP_DIR=\"/tmp\"  -DRESOURCES_DIR=\"/usr/pkg/lib/xcircuit-3.4/app-defaults\"  -DBUILTINS_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DBUILTINS_FILE=\"\"  -DUSER_RC_FILE=\".xcircuitrc\"  -DPROLOGUE_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DPROLOGUE_FILE=\"xcircps2.pro\"  -DSTARTUP_FILE=\"../startup.script\"  -DLGF_LIB=\"lgf.lps\" -IXw -I/usr/pkg/include  xcwrap.c -c -o xcwrap.o
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.4\" -DPROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_LIBM=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DDOUBLEBUFFER=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1  -DPROG_VERSION=3.4  -DPROG_REVISION=26  -DCAD_DIR=\"/usr/pkg/lib\"  -DTEMP_DIR=\"/tmp\"  -DRESOURCES_DIR=\"/usr/pkg/lib/xcircuit-3.4/app-defaults\"  -DBUILTINS_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DBUILTINS_FILE=\"\"  -DUSER_RC_FILE=\".xcircuitrc\"  -DPROLOGUE_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DPROLOGUE_FILE=\"xcircps2.pro\"  -DSTARTUP_FILE=\"../startup.script\"  -DLGF_LIB=\"lgf.lps\" -I. -I. -IXw -I/usr/pkg/include   -I/usr/pkg/include -I/usr/include  -fPIC -O2 -I/usr/pkg/include -I/usr/include -Wno-pointer-sign -fPIC -c elements.c
elements.c:113:4: warning: implicit declaration of function 'incr_changes' is invalid in C99 [-Wimplicit-function-declaration]
   incr_changes(destobject);
   ^
elements.c:329:4: warning: implicit declaration of function 'delete_tagged' is invalid in C99 [-Wimplicit-function-declaration]
   delete_tagged(destobject);
   ^
elements.c:544:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
   if (r = isbound(keypressed, XCF_Text_Delete)) {
       ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
elements.c:544:10: note: place parentheses around the assignment to silence this warning
   if (r = isbound(keypressed, XCF_Text_Delete)) {
         ^
       (                                       )
elements.c:544:10: note: use '==' to turn this assignment into an equality comparison
   if (r = isbound(keypressed, XCF_Text_Delete)) {
         ^
         ==
elements.c:573:9: warning: implicit declaration of function 'tcl_printf' is invalid in C99 [-Wimplicit-function-declaration]
               Fprintf(stdout, "Error:  Unexpected NULL string part\n");
               ^
./xcircuit.h:61:19: note: expanded from macro 'Fprintf'
  #define Fprintf tcl_printf
                  ^
elements.c:580:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
   else if (r = isbound(keypressed, XCF_Text_Delete_Param)) {
            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
elements.c:580:15: note: place parentheses around the assignment to silence this warning
   else if (r = isbound(keypressed, XCF_Text_Delete_Param)) {
              ^
            (                                             )
elements.c:580:15: note: use '==' to turn this assignment into an equality comparison
   else if (r = isbound(keypressed, XCF_Text_Delete_Param)) {
              ^
              ==
elements.c:597:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
   else if (r = isbound(keypressed, XCF_Text_Return)) {
            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
elements.c:597:15: note: place parentheses around the assignment to silence this warning
   else if (r = isbound(keypressed, XCF_Text_Return)) {
              ^
            (                                       )
elements.c:597:15: note: use '==' to turn this assignment into an equality comparison
   else if (r = isbound(keypressed, XCF_Text_Return)) {
              ^
              ==
elements.c:715:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
   else if (r = isbound(keypressed, XCF_Text_Right)) {
            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
elements.c:715:15: note: place parentheses around the assignment to silence this warning
   else if (r = isbound(keypressed, XCF_Text_Right)) {
              ^
            (                                      )
elements.c:715:15: note: use '==' to turn this assignment into an equality comparison
   else if (r = isbound(keypressed, XCF_Text_Right)) {
              ^
              ==
elements.c:718:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
   else if (r = isbound(keypressed, XCF_Text_Left)) {
            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
elements.c:718:15: note: place parentheses around the assignment to silence this warning
   else if (r = isbound(keypressed, XCF_Text_Left)) {
              ^
            (                                     )
elements.c:718:15: note: use '==' to turn this assignment into an equality comparison
   else if (r = isbound(keypressed, XCF_Text_Left)) {
              ^
              ==
elements.c:721:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
   else if (r = isbound(keypressed, XCF_Text_Down)) {
            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
elements.c:721:15: note: place parentheses around the assignment to silence this warning
   else if (r = isbound(keypressed, XCF_Text_Down)) {
              ^
            (                                     )
elements.c:721:15: note: use '==' to turn this assignment into an equality comparison
   else if (r = isbound(keypressed, XCF_Text_Down)) {
              ^
              ==
elements.c:731:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
   else if (r = isbound(keypressed, XCF_Text_Up)) {
            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
elements.c:731:15: note: place parentheses around the assignment to silence this warning
   else if (r = isbound(keypressed, XCF_Text_Up)) {
              ^
            (                                   )
elements.c:731:15: note: use '==' to turn this assignment into an equality comparison
   else if (r = isbound(keypressed, XCF_Text_Up)) {
              ^
              ==
elements.c:742:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
   else if (r = isbound(keypressed, XCF_Text_Home))
            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
elements.c:742:15: note: place parentheses around the assignment to silence this warning
   else if (r = isbound(keypressed, XCF_Text_Home))
              ^
            (                                     )
elements.c:742:15: note: use '==' to turn this assignment into an equality comparison
   else if (r = isbound(keypressed, XCF_Text_Home))
              ^
              ==
elements.c:744:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
   else if (r = isbound(keypressed, XCF_Text_End))
            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
elements.c:744:15: note: place parentheses around the assignment to silence this warning
   else if (r = isbound(keypressed, XCF_Text_End))
              ^
            (                                    )
elements.c:744:15: note: use '==' to turn this assignment into an equality comparison
   else if (r = isbound(keypressed, XCF_Text_End))
              ^
              ==
elements.c:746:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
   else if (r = isbound(keypressed, XCF_Text_Split)) {
            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
elements.c:746:15: note: place parentheses around the assignment to silence this warning
   else if (r = isbound(keypressed, XCF_Text_Split)) {
              ^
            (                                      )
elements.c:746:15: note: use '==' to turn this assignment into an equality comparison
   else if (r = isbound(keypressed, XCF_Text_Split)) {
              ^
              ==
elements.c:1713:7: warning: implicit declaration of function 'joinlabels' is invalid in C99 [-Wimplicit-function-declaration]
      joinlabels();
      ^
14 warnings generated.
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.4\" -DPROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_LIBM=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DDOUBLEBUFFER=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1  -DPROG_VERSION=3.4  -DPROG_REVISION=26  -DCAD_DIR=\"/usr/pkg/lib\"  -DTEMP_DIR=\"/tmp\"  -DRESOURCES_DIR=\"/usr/pkg/lib/xcircuit-3.4/app-defaults\"  -DBUILTINS_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DBUILTINS_FILE=\"\"  -DUSER_RC_FILE=\".xcircuitrc\"  -DPROLOGUE_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DPROLOGUE_FILE=\"xcircps2.pro\"  -DSTARTUP_FILE=\"../startup.script\"  -DLGF_LIB=\"lgf.lps\" -I. -I. -IXw -I/usr/pkg/include   -I/usr/pkg/include -I/usr/include  -fPIC -O2 -I/usr/pkg/include -I/usr/include -Wno-pointer-sign -fPIC -c events.c
events.c:129:7: warning: implicit declaration of function 'freeselects' is invalid in C99 [-Wimplicit-function-declaration]
      freeselects();
      ^
events.c:299:7: warning: implicit declaration of function 'tcl_printf' is invalid in C99 [-Wimplicit-function-declaration]
      Fprintf(stderr, "pop_genstack() Error: NULL instance stack!\n");
      ^
./xcircuit.h:61:19: note: expanded from macro 'Fprintf'
  #define Fprintf tcl_printf
                  ^
events.c:1266:6: warning: implicit declaration of function 'incr_changes' is invalid in C99 [-Wimplicit-function-declaration]
            incr_changes(topobject);
            ^
events.c:1538:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (r = isbound(keywstate, XCF_Linebreak))
          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1538:13: note: place parentheses around the assignment to silence this warning
      if (r = isbound(keywstate, XCF_Linebreak))
            ^
          (                                    )
events.c:1538:13: note: use '==' to turn this assignment into an equality comparison
      if (r = isbound(keywstate, XCF_Linebreak))
            ^
            ==
events.c:1540:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Halfspace))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1540:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Halfspace))
                 ^
               (                                    )
events.c:1540:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Halfspace))
                 ^
                 ==
events.c:1542:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Quarterspace))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1542:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Quarterspace))
                 ^
               (                                       )
events.c:1542:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Quarterspace))
                 ^
                 ==
events.c:1544:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_TabStop))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1544:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_TabStop))
                 ^
               (                                  )
events.c:1544:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_TabStop))
                 ^
                 ==
events.c:1546:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_TabForward))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1546:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_TabForward))
                 ^
               (                                     )
events.c:1546:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_TabForward))
                 ^
                 ==
events.c:1548:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_TabBackward))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1548:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_TabBackward))
                 ^
               (                                      )
events.c:1548:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_TabBackward))
                 ^
                 ==
events.c:1550:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Superscript))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1550:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Superscript))
                 ^
               (                                      )
events.c:1550:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Superscript))
                 ^
                 ==
events.c:1552:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Subscript))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1552:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Subscript))
                 ^
               (                                    )
events.c:1552:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Subscript))
                 ^
                 ==
events.c:1554:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Normalscript))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1554:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Normalscript))
                 ^
               (                                       )
events.c:1554:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Normalscript))
                 ^
                 ==
events.c:1556:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Underline))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1556:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Underline))
                 ^
               (                                    )
events.c:1556:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Underline))
                 ^
                 ==
events.c:1558:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Overline))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1558:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Overline))
                 ^
               (                                   )
events.c:1558:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Overline))
                 ^
                 ==
events.c:1560:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Nextfont))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1560:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Nextfont))
                 ^
               (                                   )
events.c:1560:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Nextfont))
                 ^
                 ==
events.c:1562:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Boldfont))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1562:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Boldfont))
                 ^
               (                                   )
events.c:1562:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Boldfont))
                 ^
                 ==
events.c:1564:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Italicfont))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1564:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Italicfont))
                 ^
               (                                     )
events.c:1564:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Italicfont))
                 ^
                 ==
events.c:1566:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Normalfont))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1566:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Normalfont))
                 ^
               (                                     )
events.c:1566:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Normalfont))
                 ^
                 ==
events.c:1568:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_ISO_Encoding))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1568:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_ISO_Encoding))
                 ^
               (                                       )
events.c:1568:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_ISO_Encoding))
                 ^
                 ==
events.c:1570:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isnbound(keywstate, XCF_Justify, &value))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1570:18: note: place parentheses around the assignment to silence this warning
      else if (r = isnbound(keywstate, XCF_Justify, &value))
                 ^
               (                                           )
events.c:1570:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isnbound(keywstate, XCF_Justify, &value))
                 ^
                 ==
events.c:1572:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Parameter))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1572:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Parameter))
                 ^
               (                                    )
events.c:1572:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Parameter))
                 ^
                 ==
events.c:1574:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Special))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1574:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Special))
                 ^
               (                                  )
events.c:1574:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Special))
                 ^
                 ==
events.c:1589:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (r = isbound(keywstate, XCF_Edit_Break))
          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1589:13: note: place parentheses around the assignment to silence this warning
      if (r = isbound(keywstate, XCF_Edit_Break))
            ^
          (                                     )
events.c:1589:13: note: use '==' to turn this assignment into an equality comparison
      if (r = isbound(keywstate, XCF_Edit_Break))
            ^
            ==
events.c:1591:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Edit_Delete))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1591:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Edit_Delete))
                 ^
               (                                      )
events.c:1591:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Edit_Delete))
                 ^
                 ==
events.c:1593:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Edit_Insert))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1593:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Edit_Insert))
                 ^
               (                                      )
events.c:1593:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Edit_Insert))
                 ^
                 ==
events.c:1595:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Edit_Append))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1595:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Edit_Append))
                 ^
               (                                      )
events.c:1595:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Edit_Append))
                 ^
                 ==
events.c:1597:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Edit_Next))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1597:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Edit_Next))
                 ^
               (                                    )
events.c:1597:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Edit_Next))
                 ^
                 ==
events.c:1599:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Attach))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1599:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Attach))
                 ^
               (                                 )
events.c:1599:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Attach))
                 ^
                 ==
events.c:1617:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (r = isnbound(keywstate, XCF_Rotate, &value))
          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1617:13: note: place parentheses around the assignment to silence this warning
      if (r = isnbound(keywstate, XCF_Rotate, &value))
            ^
          (                                          )
events.c:1617:13: note: use '==' to turn this assignment into an equality comparison
      if (r = isnbound(keywstate, XCF_Rotate, &value))
            ^
            ==
events.c:1619:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Flip_X))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1619:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Flip_X))
                 ^
               (                                 )
events.c:1619:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Flip_X))
                 ^
                 ==
events.c:1621:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Flip_Y))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1621:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Flip_Y))
                 ^
               (                                 )
events.c:1621:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Flip_Y))
                 ^
                 ==
events.c:1623:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Snap))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1623:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Snap))
                 ^
               (                               )
events.c:1623:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Snap))
                 ^
                 ==
events.c:1625:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Pop))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1625:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Pop))
                 ^
               (                              )
events.c:1625:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Pop))
                 ^
                 ==
events.c:1627:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Push))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1627:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Push))
                 ^
               (                               )
events.c:1627:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Push))
                 ^
                 ==
events.c:1629:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isnbound(keywstate, XCF_Justify, &value))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1629:18: note: place parentheses around the assignment to silence this warning
      else if (r = isnbound(keywstate, XCF_Justify, &value))
                 ^
               (                                           )
events.c:1629:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isnbound(keywstate, XCF_Justify, &value))
                 ^
                 ==
events.c:1631:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Swap))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1631:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Swap))
                 ^
               (                               )
events.c:1631:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Swap))
                 ^
                 ==
events.c:1633:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Attach))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1633:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Attach))
                 ^
               (                                 )
events.c:1633:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Attach))
                 ^
                 ==
events.c:1641:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
         if (r = isbound(keywstate, XCF_Next_Library))
             ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1641:9: note: place parentheses around the assignment to silence this warning
         if (r = isbound(keywstate, XCF_Next_Library))
               ^
             (                                       )
events.c:1641:9: note: use '==' to turn this assignment into an equality comparison
         if (r = isbound(keywstate, XCF_Next_Library))
               ^
               ==
events.c:1643:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
         else if (r = isbound(keywstate, XCF_Library_Directory))
                  ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1643:14: note: place parentheses around the assignment to silence this warning
         else if (r = isbound(keywstate, XCF_Library_Directory))
                    ^
                  (                                            )
events.c:1643:14: note: use '==' to turn this assignment into an equality comparison
         else if (r = isbound(keywstate, XCF_Library_Directory))
                    ^
                    ==
events.c:1649:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (r = isbound(keywstate, XCF_Library_Pop)) {
          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1649:13: note: place parentheses around the assignment to silence this warning
      if (r = isbound(keywstate, XCF_Library_Pop)) {
            ^
          (                                      )
events.c:1649:13: note: use '==' to turn this assignment into an equality comparison
      if (r = isbound(keywstate, XCF_Library_Pop)) {
            ^
            ==
events.c:1652:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Pop)) {
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1652:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Pop)) {
                 ^
               (                              )
events.c:1652:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Pop)) {
                 ^
                 ==
events.c:1656:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Finish)) {
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1656:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Finish)) {
                 ^
               (                                 )
events.c:1656:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Finish)) {
                 ^
                 ==
events.c:1666:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
         if (r = isbound(keywstate, XCF_Library_Copy)) {
             ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1666:9: note: place parentheses around the assignment to silence this warning
         if (r = isbound(keywstate, XCF_Library_Copy)) {
               ^
             (                                       )
events.c:1666:9: note: use '==' to turn this assignment into an equality comparison
         if (r = isbound(keywstate, XCF_Library_Copy)) {
               ^
               ==
events.c:1669:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
         else if (r = isbound(keywstate, XCF_Library_Edit)) {
                  ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1669:14: note: place parentheses around the assignment to silence this warning
         else if (r = isbound(keywstate, XCF_Library_Edit)) {
                    ^
                  (                                       )
events.c:1669:14: note: use '==' to turn this assignment into an equality comparison
         else if (r = isbound(keywstate, XCF_Library_Edit)) {
                    ^
                    ==
events.c:1676:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
         else if (r = isbound(keywstate, XCF_Select)) {
                  ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1676:14: note: place parentheses around the assignment to silence this warning
         else if (r = isbound(keywstate, XCF_Select)) {
                    ^
                  (                                 )
events.c:1676:14: note: use '==' to turn this assignment into an equality comparison
         else if (r = isbound(keywstate, XCF_Select)) {
                    ^
                    ==
events.c:1679:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
         else if (r = isbound(keywstate, XCF_Library_Delete)) {
                  ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1679:14: note: place parentheses around the assignment to silence this warning
         else if (r = isbound(keywstate, XCF_Library_Delete)) {
                    ^
                  (                                         )
events.c:1679:14: note: use '==' to turn this assignment into an equality comparison
         else if (r = isbound(keywstate, XCF_Library_Delete)) {
                    ^
                    ==
events.c:1683:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
         else if (r = isbound(keywstate, XCF_Library_Duplicate)) {
                  ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1683:14: note: place parentheses around the assignment to silence this warning
         else if (r = isbound(keywstate, XCF_Library_Duplicate)) {
                    ^
                  (                                            )
events.c:1683:14: note: use '==' to turn this assignment into an equality comparison
         else if (r = isbound(keywstate, XCF_Library_Duplicate)) {
                    ^
                    ==
events.c:1687:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
         else if (r = isbound(keywstate, XCF_Library_Hide)) {
                  ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1687:14: note: place parentheses around the assignment to silence this warning
         else if (r = isbound(keywstate, XCF_Library_Hide)) {
                    ^
                  (                                       )
events.c:1687:14: note: use '==' to turn this assignment into an equality comparison
         else if (r = isbound(keywstate, XCF_Library_Hide)) {
                    ^
                    ==
events.c:1691:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
         else if (r = isbound(keywstate, XCF_Library_Virtual)) {
                  ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1691:14: note: place parentheses around the assignment to silence this warning
         else if (r = isbound(keywstate, XCF_Library_Virtual)) {
                    ^
                  (                                          )
events.c:1691:14: note: use '==' to turn this assignment into an equality comparison
         else if (r = isbound(keywstate, XCF_Library_Virtual)) {
                    ^
                    ==
events.c:1695:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
         else if (r = isbound(keywstate, XCF_Push)) {
                  ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1695:14: note: place parentheses around the assignment to silence this warning
         else if (r = isbound(keywstate, XCF_Push)) {
                    ^
                  (                               )
events.c:1695:14: note: use '==' to turn this assignment into an equality comparison
         else if (r = isbound(keywstate, XCF_Push)) {
                    ^
                    ==
events.c:1707:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
         if (r = isbound(keywstate, XCF_Library_Move)) {
             ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1707:9: note: place parentheses around the assignment to silence this warning
         if (r = isbound(keywstate, XCF_Library_Move)) {
               ^
             (                                       )
events.c:1707:9: note: use '==' to turn this assignment into an equality comparison
         if (r = isbound(keywstate, XCF_Library_Move)) {
               ^
               ==
events.c:1710:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
         else if (r = isbound(keywstate, XCF_Select)) {
                  ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1710:14: note: place parentheses around the assignment to silence this warning
         else if (r = isbound(keywstate, XCF_Select)) {
                    ^
                  (                                 )
events.c:1710:14: note: use '==' to turn this assignment into an equality comparison
         else if (r = isbound(keywstate, XCF_Select)) {
                    ^
                    ==
events.c:1725:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (r = isbound(keywstate, XCF_Select))
          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1725:13: note: place parentheses around the assignment to silence this warning
      if (r = isbound(keywstate, XCF_Select))
            ^
          (                                 )
events.c:1725:13: note: use '==' to turn this assignment into an equality comparison
      if (r = isbound(keywstate, XCF_Select))
            ^
            ==
events.c:1728:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Move)) {
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1728:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Move)) {
                 ^
               (                               )
events.c:1728:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Move)) {
                 ^
                 ==
events.c:1744:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_SelectBox)) {
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1744:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_SelectBox)) {
                 ^
               (                                    )
events.c:1744:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_SelectBox)) {
                 ^
                 ==
events.c:1747:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Wire)) {
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1747:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Wire)) {
                 ^
               (                               )
events.c:1747:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Wire)) {
                 ^
                 ==
events.c:1752:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Delete))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1752:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Delete))
                 ^
               (                                 )
events.c:1752:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Delete))
                 ^
                 ==
events.c:1754:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Pop))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1754:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Pop))
                 ^
               (                              )
events.c:1754:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Pop))
                 ^
                 ==
events.c:1756:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Push))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1756:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Push))
                 ^
               (                               )
events.c:1756:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Push))
                 ^
                 ==
events.c:1758:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Swap))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1758:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Swap))
                 ^
               (                               )
events.c:1758:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Swap))
                 ^
                 ==
events.c:1760:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Rescale)) {
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1760:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Rescale)) {
                 ^
               (                                  )
events.c:1760:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Rescale)) {
                 ^
                 ==
events.c:1762:3: warning: implicit declaration of function 'UDrawRescaleBox' is invalid in C99 [-Wimplicit-function-declaration]
         UDrawRescaleBox(&areastruct.save);
         ^
events.c:1771:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Pin_Label)) {
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1771:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Pin_Label)) {
                 ^
               (                                    )
events.c:1771:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Pin_Label)) {
                 ^
                 ==
events.c:1775:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Pin_Global)) {
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1775:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Pin_Global)) {
                 ^
               (                                     )
events.c:1775:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Pin_Global)) {
                 ^
                 ==
events.c:1779:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Info_Label)) {
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1779:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Info_Label)) {
                 ^
               (                                     )
events.c:1779:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Info_Label)) {
                 ^
                 ==
events.c:1783:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Connectivity))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1783:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Connectivity))
                 ^
               (                                       )
events.c:1783:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Connectivity))
                 ^
                 ==
events.c:1785:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isnbound(keywstate, XCF_Rotate, &value))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1785:18: note: place parentheses around the assignment to silence this warning
      else if (r = isnbound(keywstate, XCF_Rotate, &value))
                 ^
               (                                          )
events.c:1785:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isnbound(keywstate, XCF_Rotate, &value))
                 ^
                 ==
events.c:1787:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Flip_X))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1787:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Flip_X))
                 ^
               (                                 )
events.c:1787:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Flip_X))
                 ^
                 ==
events.c:1789:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Flip_Y))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1789:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Flip_Y))
                 ^
               (                                 )
events.c:1789:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Flip_Y))
                 ^
                 ==
events.c:1791:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Box))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1791:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Box))
                 ^
               (                              )
events.c:1791:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Box))
                 ^
                 ==
events.c:1793:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Arc))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1793:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Arc))
                 ^
               (                              )
events.c:1793:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Arc))
                 ^
                 ==
events.c:1795:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Text)) {
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1795:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Text)) {
                 ^
               (                               )
events.c:1795:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Text)) {
                 ^
                 ==
events.c:1799:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Snap))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1799:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Snap))
                 ^
               (                               )
events.c:1799:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Snap))
                 ^
                 ==
events.c:1801:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Exchange))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1801:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Exchange))
                 ^
               (                                   )
events.c:1801:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Exchange))
                 ^
                 ==
events.c:1803:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Delete))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1803:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Delete))
                 ^
               (                                 )
events.c:1803:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Delete))
                 ^
                 ==
events.c:1805:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Copy))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1805:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Copy))
                 ^
               (                               )
events.c:1805:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Copy))
                 ^
                 ==
events.c:1807:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Virtual))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1807:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Virtual))
                 ^
               (                                  )
events.c:1807:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Virtual))
                 ^
                 ==
events.c:1809:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Next_Library))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1809:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Next_Library))
                 ^
               (                                       )
events.c:1809:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Next_Library))
                 ^
                 ==
events.c:1811:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Library_Directory))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1811:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Library_Directory))
                 ^
               (                                            )
events.c:1811:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Library_Directory))
                 ^
                 ==
events.c:1813:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Page_Directory))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1813:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Page_Directory))
                 ^
               (                                         )
events.c:1813:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Page_Directory))
                 ^
                 ==
events.c:1815:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Join))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1815:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Join))
                 ^
               (                               )
events.c:1815:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Join))
                 ^
                 ==
events.c:1817:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Unjoin))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1817:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Unjoin))
                 ^
               (                                 )
events.c:1817:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Unjoin))
                 ^
                 ==
events.c:1819:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Spline))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1819:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Spline))
                 ^
               (                                 )
events.c:1819:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Spline))
                 ^
                 ==
events.c:1821:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Edit))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1821:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Edit))
                 ^
               (                               )
events.c:1821:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Edit))
                 ^
                 ==
events.c:1823:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Undo))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1823:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Undo))
                 ^
               (                               )
events.c:1823:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Undo))
                 ^
                 ==
events.c:1825:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Redo))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1825:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Redo))
                 ^
               (                               )
events.c:1825:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Redo))
                 ^
                 ==
events.c:1827:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Select_Save))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1827:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Select_Save))
                 ^
               (                                      )
events.c:1827:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Select_Save))
                 ^
                 ==
events.c:1833:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Unselect))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1833:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Unselect))
                 ^
               (                                   )
events.c:1833:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Unselect))
                 ^
                 ==
events.c:1835:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Dashed))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1835:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Dashed))
                 ^
               (                                 )
events.c:1835:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Dashed))
                 ^
                 ==
events.c:1837:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Dotted))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1837:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Dotted))
                 ^
               (                                 )
events.c:1837:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Dotted))
                 ^
                 ==
events.c:1839:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Solid))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1839:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Solid))
                 ^
               (                                )
events.c:1839:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Solid))
                 ^
                 ==
events.c:1841:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Prompt))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1841:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Prompt))
                 ^
               (                                 )
events.c:1841:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Prompt))
                 ^
                 ==
events.c:1843:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Nothing))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1843:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Nothing))
                 ^
               (                                  )
events.c:1843:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Nothing))
                 ^
                 ==
events.c:1845:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Exit))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1845:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Exit))
                 ^
               (                               )
events.c:1845:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Exit))
                 ^
                 ==
events.c:1847:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isnbound(keywstate, XCF_Justify, &value))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1847:18: note: place parentheses around the assignment to silence this warning
      else if (r = isnbound(keywstate, XCF_Justify, &value))
                 ^
               (                                           )
events.c:1847:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isnbound(keywstate, XCF_Justify, &value))
                 ^
                 ==
events.c:1849:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Dot)) {
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1849:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Dot)) {
                 ^
               (                              )
events.c:1849:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Dot)) {
                 ^
                 ==
events.c:1854:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Write)) {
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1854:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Write)) {
                 ^
               (                                )
events.c:1854:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Write)) {
                 ^
                 ==
events.c:1867:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Sim))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1867:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Sim))
                 ^
               (                              )
events.c:1867:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Sim))
                 ^
                 ==
events.c:1869:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_SPICE))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1869:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_SPICE))
                 ^
               (                                )
events.c:1869:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_SPICE))
                 ^
                 ==
events.c:1871:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_SPICEflat))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1871:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_SPICEflat))
                 ^
               (                                    )
events.c:1871:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_SPICEflat))
                 ^
                 ==
events.c:1873:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_PCB))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1873:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_PCB))
                 ^
               (                              )
events.c:1873:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_PCB))
                 ^
                 ==
events.c:1880:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (r = isbound(keywstate, XCF_Continue_Copy))
          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1880:13: note: place parentheses around the assignment to silence this warning
      if (r = isbound(keywstate, XCF_Continue_Copy))
            ^
          (                                        )
events.c:1880:13: note: use '==' to turn this assignment into an equality comparison
      if (r = isbound(keywstate, XCF_Continue_Copy))
            ^
            ==
events.c:1882:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Finish_Copy))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1882:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Finish_Copy))
                 ^
               (                                      )
events.c:1882:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Finish_Copy))
                 ^
                 ==
events.c:1888:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (r = isbound(keywstate, XCF_Finish_Element))
          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1888:13: note: place parentheses around the assignment to silence this warning
      if (r = isbound(keywstate, XCF_Finish_Element))
            ^
          (                                         )
events.c:1888:13: note: use '==' to turn this assignment into an equality comparison
      if (r = isbound(keywstate, XCF_Finish_Element))
            ^
            ==
events.c:1896:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (r = isbound(keywstate, XCF_Finish_Element))
          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1896:13: note: place parentheses around the assignment to silence this warning
      if (r = isbound(keywstate, XCF_Finish_Element))
            ^
          (                                         )
events.c:1896:13: note: use '==' to turn this assignment into an equality comparison
      if (r = isbound(keywstate, XCF_Finish_Element))
            ^
            ==
events.c:1898:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Continue_Element))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1898:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Continue_Element))
                 ^
               (                                           )
events.c:1898:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Continue_Element))
                 ^
                 ==
events.c:1900:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (r = isbound(keywstate, XCF_Cancel_Last)) {
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:1900:18: note: place parentheses around the assignment to silence this warning
      else if (r = isbound(keywstate, XCF_Cancel_Last)) {
                 ^
               (                                      )
events.c:1900:18: note: use '==' to turn this assignment into an equality comparison
      else if (r = isbound(keywstate, XCF_Cancel_Last)) {
                 ^
                 ==
events.c:2274:27: warning: conversion specifies type 'short' but the argument has type 'int' [-Wformat]
         sprintf(fstr, "%hd/%hd", (xyval > 0) ? numer : -numer, denom);
                        ~~^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        %d
events.c:2274:31: warning: conversion specifies type 'short' but the argument has type 'int' [-Wformat]
         sprintf(fstr, "%hd/%hd", (xyval > 0) ? numer : -numer, denom);
                            ~~^                                 ~~~~~
                            %d
events.c:2276:27: warning: conversion specifies type 'short' but the argument has type 'int' [-Wformat]
         sprintf(fstr, "%hd %hd/%hd", ip, numer, denom);
                        ~~^           ~~
                        %d
events.c:2276:31: warning: conversion specifies type 'short' but the argument has type 'int' [-Wformat]
         sprintf(fstr, "%hd %hd/%hd", ip, numer, denom);
                            ~~^           ~~~~~
                            %d
events.c:2276:35: warning: conversion specifies type 'short' but the argument has type 'int' [-Wformat]
         sprintf(fstr, "%hd %hd/%hd", ip, numer, denom);
                                ~~^              ~~~~~
                                %d
events.c:2278:26: warning: conversion specifies type 'short' but the argument has type 'int' [-Wformat]
   else sprintf(fstr, "%hd", ip);
                       ~~^   ~~
                       %d
events.c:2612:7: warning: implicit declaration of function 'trackrescale' is invalid in C99 [-Wimplicit-function-declaration]
      trackrescale();
      ^
events.c:4925:7: warning: implicit declaration of function 'highlightnetlist' is invalid in C99 [-Wimplicit-function-declaration]
      highlightnetlist(topobject, areastruct.topinstance, 0);
      ^
events.c:5438:9: warning: implicit declaration of function 'UPreMultCTMbyMat' is invalid in C99 [-Wimplicit-function-declaration]
               UPreMultCTMbyMat(DCTM, &mtmp);
               ^
116 warnings generated.
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.4\" -DPROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_LIBM=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DDOUBLEBUFFER=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1  -DPROG_VERSION=3.4  -DPROG_REVISION=26  -DCAD_DIR=\"/usr/pkg/lib\"  -DTEMP_DIR=\"/tmp\"  -DRESOURCES_DIR=\"/usr/pkg/lib/xcircuit-3.4/app-defaults\"  -DBUILTINS_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DBUILTINS_FILE=\"\"  -DUSER_RC_FILE=\".xcircuitrc\"  -DPROLOGUE_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DPROLOGUE_FILE=\"xcircps2.pro\"  -DSTARTUP_FILE=\"../startup.script\"  -DLGF_LIB=\"lgf.lps\" -I. -I. -IXw -I/usr/pkg/include   -I/usr/pkg/include -I/usr/include  -fPIC -O2 -I/usr/pkg/include -I/usr/include -Wno-pointer-sign -fPIC -c filelist.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.4\" -DPROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_LIBM=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DDOUBLEBUFFER=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1  -DPROG_VERSION=3.4  -DPROG_REVISION=26  -DCAD_DIR=\"/usr/pkg/lib\"  -DTEMP_DIR=\"/tmp\"  -DRESOURCES_DIR=\"/usr/pkg/lib/xcircuit-3.4/app-defaults\"  -DBUILTINS_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DBUILTINS_FILE=\"\"  -DUSER_RC_FILE=\".xcircuitrc\"  -DPROLOGUE_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DPROLOGUE_FILE=\"xcircps2.pro\"  -DSTARTUP_FILE=\"../startup.script\"  -DLGF_LIB=\"lgf.lps\" -I. -I. -IXw -I/usr/pkg/include   -I/usr/pkg/include -I/usr/include  -fPIC -O2 -I/usr/pkg/include -I/usr/include -Wno-pointer-sign -fPIC -c files.c
files.c:155:4: warning: implicit declaration of function 'free_all_eparams' is invalid in C99 [-Wimplicit-function-declaration]
   free_all_eparams(genobj);
   ^
files.c:879:5: warning: implicit declaration of function 'tcl_printf' is invalid in C99 [-Wimplicit-function-declaration]
                  Fprintf(stdout, "%s not found, still trying. . .\n", inname);
                  ^
./xcircuit.h:61:19: note: expanded from macro 'Fprintf'
  #define Fprintf tcl_printf
                  ^
files.c:1459:3: warning: implicit declaration of function 'freenetlist' is invalid in C99 [-Wimplicit-function-declaration]
         freenetlist(topobject);
         ^
files.c:2259:7: warning: implicit declaration of function 'calcbboxinst' is invalid in C99 [-Wimplicit-function-declaration]
      calcbboxinst(newinst);
      ^
files.c:2674:7: warning: implicit declaration of function 'large_inflate' is invalid in C99 [-Wimplicit-function-declaration]
      large_inflate(filtbuf, q, &flatebuf, ilen);
      ^
files.c:2835:6: warning: implicit declaration of function 'std_eparam' is invalid in C99 [-Wimplicit-function-declaration]
            std_eparam((genericptr)(*newpath), colorkey);
            ^
files.c:4257:14: warning: implicit declaration of function 'large_deflate' is invalid in C99 [-Wimplicit-function-declaration]
      ilen = large_deflate(flatebuf, flen, filtbuf, ilen);
             ^
files.c:4945:32: warning: conversion specifies type 'short' but the argument has type 'int' [-Wformat]
                     sprintf(_STR, "%hd polyc\n", TOPOLY(pgen)->number - 1);
                                    ~~^           ~~~~~~~~~~~~~~~~~~~~~~~~
                                    %d
8 warnings generated.
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.4\" -DPROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_LIBM=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DDOUBLEBUFFER=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1  -DPROG_VERSION=3.4  -DPROG_REVISION=26  -DCAD_DIR=\"/usr/pkg/lib\"  -DTEMP_DIR=\"/tmp\"  -DRESOURCES_DIR=\"/usr/pkg/lib/xcircuit-3.4/app-defaults\"  -DBUILTINS_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DBUILTINS_FILE=\"\"  -DUSER_RC_FILE=\".xcircuitrc\"  -DPROLOGUE_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DPROLOGUE_FILE=\"xcircps2.pro\"  -DSTARTUP_FILE=\"../startup.script\"  -DLGF_LIB=\"lgf.lps\" -I. -I. -IXw -I/usr/pkg/include   -I/usr/pkg/include -I/usr/include  -fPIC -O2 -I/usr/pkg/include -I/usr/include -Wno-pointer-sign -fPIC -c flate.c
flate.c:43:7: warning: implicit declaration of function 'tcl_printf' is invalid in C99 [-Wimplicit-function-declaration]
      Fprintf(stderr, "%s error: %d", prompt, err);
      ^
./xcircuit.h:61:19: note: expanded from macro 'Fprintf'
  #define Fprintf tcl_printf
                  ^
1 warning generated.
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.4\" -DPROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_LIBM=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DDOUBLEBUFFER=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1  -DPROG_VERSION=3.4  -DPROG_REVISION=26  -DCAD_DIR=\"/usr/pkg/lib\"  -DTEMP_DIR=\"/tmp\"  -DRESOURCES_DIR=\"/usr/pkg/lib/xcircuit-3.4/app-defaults\"  -DBUILTINS_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DBUILTINS_FILE=\"\"  -DUSER_RC_FILE=\".xcircuitrc\"  -DPROLOGUE_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DPROLOGUE_FILE=\"xcircps2.pro\"  -DSTARTUP_FILE=\"../startup.script\"  -DLGF_LIB=\"lgf.lps\" -I. -I. -IXw -I/usr/pkg/include   -I/usr/pkg/include -I/usr/include  -fPIC -O2 -I/usr/pkg/include -I/usr/include -Wno-pointer-sign -fPIC -c fontfile.c
fontfile.c:142:5: warning: implicit declaration of function 'tcl_printf' is invalid in C99 [-Wimplicit-function-declaration]
                  Fprintf(stderr,
                  ^
./xcircuit.h:61:19: note: expanded from macro 'Fprintf'
  #define Fprintf tcl_printf
                  ^
1 warning generated.
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.4\" -DPROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_LIBM=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DDOUBLEBUFFER=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1  -DPROG_VERSION=3.4  -DPROG_REVISION=26  -DCAD_DIR=\"/usr/pkg/lib\"  -DTEMP_DIR=\"/tmp\"  -DRESOURCES_DIR=\"/usr/pkg/lib/xcircuit-3.4/app-defaults\"  -DBUILTINS_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DBUILTINS_FILE=\"\"  -DUSER_RC_FILE=\".xcircuitrc\"  -DPROLOGUE_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DPROLOGUE_FILE=\"xcircps2.pro\"  -DSTARTUP_FILE=\"../startup.script\"  -DLGF_LIB=\"lgf.lps\" -I. -I. -IXw -I/usr/pkg/include   -I/usr/pkg/include -I/usr/include  -fPIC -O2 -I/usr/pkg/include -I/usr/include -Wno-pointer-sign -fPIC -c formats.c
formats.c:94:8: warning: implicit declaration of function 'check_library' is invalid in C99 [-Wimplicit-function-declaration]
   if (check_library(LGF_LIB) < 0) {
       ^
1 warning generated.
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.4\" -DPROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_LIBM=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DDOUBLEBUFFER=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1  -DPROG_VERSION=3.4  -DPROG_REVISION=26  -DCAD_DIR=\"/usr/pkg/lib\"  -DTEMP_DIR=\"/tmp\"  -DRESOURCES_DIR=\"/usr/pkg/lib/xcircuit-3.4/app-defaults\"  -DBUILTINS_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DBUILTINS_FILE=\"\"  -DUSER_RC_FILE=\".xcircuitrc\"  -DPROLOGUE_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DPROLOGUE_FILE=\"xcircps2.pro\"  -DSTARTUP_FILE=\"../startup.script\"  -DLGF_LIB=\"lgf.lps\" -I. -I. -IXw -I/usr/pkg/include   -I/usr/pkg/include -I/usr/include  -fPIC -O2 -I/usr/pkg/include -I/usr/include -Wno-pointer-sign -fPIC -c functions.c
functions.c:1156:11: warning: implicit declaration of function 'has_param' is invalid in C99 [-Wimplicit-function-declaration]
      if (has_param(*gelem))
          ^
functions.c:1748:9: warning: array index 5 is past the end of the array (which contains 5 elements) [-Warray-bounds]
               newpoints[5] = newpoints[0];
               ^         ~
functions.c:1722:4: note: array 'newpoints' declared here
   XPoint       origpoints[5], newpoints[5];
   ^
2 warnings generated.
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.4\" -DPROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_LIBM=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DDOUBLEBUFFER=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1  -DPROG_VERSION=3.4  -DPROG_REVISION=26  -DCAD_DIR=\"/usr/pkg/lib\"  -DTEMP_DIR=\"/tmp\"  -DRESOURCES_DIR=\"/usr/pkg/lib/xcircuit-3.4/app-defaults\"  -DBUILTINS_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DBUILTINS_FILE=\"\"  -DUSER_RC_FILE=\".xcircuitrc\"  -DPROLOGUE_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DPROLOGUE_FILE=\"xcircps2.pro\"  -DSTARTUP_FILE=\"../startup.script\"  -DLGF_LIB=\"lgf.lps\" -I. -I. -IXw -I/usr/pkg/include   -I/usr/pkg/include -I/usr/include  -fPIC -O2 -I/usr/pkg/include -I/usr/include -Wno-pointer-sign -fPIC -c graphic.c
graphic.c:388:5: warning: implicit declaration of function 'incr_changes' is invalid in C99 [-Wimplicit-function-declaration]
    incr_changes(destobject);
    ^
1 warning generated.
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.4\" -DPROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_LIBM=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DDOUBLEBUFFER=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1  -DPROG_VERSION=3.4  -DPROG_REVISION=26  -DCAD_DIR=\"/usr/pkg/lib\"  -DTEMP_DIR=\"/tmp\"  -DRESOURCES_DIR=\"/usr/pkg/lib/xcircuit-3.4/app-defaults\"  -DBUILTINS_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DBUILTINS_FILE=\"\"  -DUSER_RC_FILE=\".xcircuitrc\"  -DPROLOGUE_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DPROLOGUE_FILE=\"xcircps2.pro\"  -DSTARTUP_FILE=\"../startup.script\"  -DLGF_LIB=\"lgf.lps\" -I. -I. -IXw -I/usr/pkg/include   -I/usr/pkg/include -I/usr/include  -fPIC -O2 -I/usr/pkg/include -I/usr/include -Wno-pointer-sign -fPIC -c help.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.4\" -DPROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_LIBM=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DDOUBLEBUFFER=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1  -DPROG_VERSION=3.4  -DPROG_REVISION=26  -DCAD_DIR=\"/usr/pkg/lib\"  -DTEMP_DIR=\"/tmp\"  -DRESOURCES_DIR=\"/usr/pkg/lib/xcircuit-3.4/app-defaults\"  -DBUILTINS_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DBUILTINS_FILE=\"\"  -DUSER_RC_FILE=\".xcircuitrc\"  -DPROLOGUE_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DPROLOGUE_FILE=\"xcircps2.pro\"  -DSTARTUP_FILE=\"../startup.script\"  -DLGF_LIB=\"lgf.lps\" -I. -I. -IXw -I/usr/pkg/include   -I/usr/pkg/include -I/usr/include  -fPIC -O2 -I/usr/pkg/include -I/usr/include -Wno-pointer-sign -fPIC -c keybindings.c
keybindings.c:214:3: warning: implicit declaration of function 'tcl_printf' is invalid in C99 [-Wimplicit-function-declaration]
         Fprintf(stderr, "Error: resolve bindings and function strings!\n");
         ^
./xcircuit.h:61:19: note: expanded from macro 'Fprintf'
  #define Fprintf tcl_printf
                  ^
1 warning generated.
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.4\" -DPROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_LIBM=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DDOUBLEBUFFER=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1  -DPROG_VERSION=3.4  -DPROG_REVISION=26  -DCAD_DIR=\"/usr/pkg/lib\"  -DTEMP_DIR=\"/tmp\"  -DRESOURCES_DIR=\"/usr/pkg/lib/xcircuit-3.4/app-defaults\"  -DBUILTINS_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DBUILTINS_FILE=\"\"  -DUSER_RC_FILE=\".xcircuitrc\"  -DPROLOGUE_DIR=\"/usr/pkg/lib/xcircuit-3.4\"  -DPROLOGUE_FILE=\"xcircps2.pro\"  -DSTARTUP_FILE=\"../startup.script\"  -DLGF_LIB=\"lgf.lps\" -I. -I. -IXw -I/usr/pkg/include   -I/usr/pkg/include -I/usr/include  -fPIC -O2 -I/usr/pkg/include -I/usr/include -Wno-pointer-sign -fPIC -c libraries.c
libraries.c:192:48: error: non-void function 'pagetotals' should return a value [-Wreturn-type]
   if (xobjs.pagelist[page]->pageinst == NULL) return;
                                               ^
libraries.c:700:7: warning: implicit declaration of function 'calcinstbbox' is invalid in C99 [-Wimplicit-function-declaration]
      calcinstbbox((genericptr *)(&drawinst), &llx, &lly, &width, &height);
      ^
1 warning and 1 error generated.
*** Error code 1

Stop.
make: stopped in /scratch/cad/xcircuit/work/xcircuit-3.4.26
*** Error code 1

Stop.
make: stopped in /scratch/cad/xcircuit/work/xcircuit-3.4.26
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/cad/xcircuit
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/cad/xcircuit
