<86>Jan 15 08:00:32 userdel[41018]: delete user 'rooter'
<86>Jan 15 08:00:32 groupadd[41091]: group added to /etc/group: name=rooter, GID=639
<86>Jan 15 08:00:32 groupadd[41091]: group added to /etc/gshadow: name=rooter
<86>Jan 15 08:00:32 groupadd[41091]: new group: name=rooter, GID=639
<86>Jan 15 08:00:32 useradd[41124]: new user: name=rooter, UID=639, GID=639, home=/root, shell=/bin/bash
<86>Jan 15 08:00:32 userdel[41161]: delete user 'builder'
<86>Jan 15 08:00:32 userdel[41161]: removed group 'builder' owned by 'builder'
<86>Jan 15 08:00:32 userdel[41161]: removed shadow group 'builder' owned by 'builder'
<86>Jan 15 08:00:32 groupadd[41193]: group added to /etc/group: name=builder, GID=640
<86>Jan 15 08:00:32 groupadd[41193]: group added to /etc/gshadow: name=builder
<86>Jan 15 08:00:32 groupadd[41193]: new group: name=builder, GID=640
<86>Jan 15 08:00:32 useradd[41206]: new user: name=builder, UID=640, GID=640, home=/usr/src, shell=/bin/bash
warning: user grenka does not exist - using root
warning: group grenka does not exist - using root
warning: user grenka does not exist - using root
warning: group grenka does not exist - using root
warning: user grenka does not exist - using root
warning: group grenka does not exist - using root
warning: user grenka does not exist - using root
warning: group grenka does not exist - using root
warning: user grenka does not exist - using root
warning: group grenka does not exist - using root
warning: user grenka does not exist - using root
warning: group grenka does not exist - using root
warning: user grenka does not exist - using root
warning: group grenka does not exist - using root
warning: user grenka does not exist - using root
warning: group grenka does not exist - using root
warning: user grenka does not exist - using root
warning: group grenka does not exist - using root
<13>Jan 15 08:00:36 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed
<13>Jan 15 08:00:36 rpmi: libglvnd-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed
<13>Jan 15 08:00:36 rpmi: libICE-1.0.9-alt1 1409902721 installed
<13>Jan 15 08:00:36 rpmi: libexpat-2.2.4-alt1 1503305345 installed
<13>Jan 15 08:00:36 rpmi: libSM-1.2.3-alt1 sisyphus.215747.100 1540812795 installed
<13>Jan 15 08:00:36 rpmi: libtcl-8.6.8-alt1 1518663643 installed
<13>Jan 15 08:00:36 rpmi: tcl-8.6.8-alt1 1518663643 installed
<13>Jan 15 08:00:36 rpmi: libXau-1.0.8-alt1 1369565808 installed
<13>Jan 15 08:00:36 rpmi: libwayland-server-1.16.0-alt1 1535614871 installed
<13>Jan 15 08:00:36 rpmi: libquadmath0-8.2.1-alt3 sisyphus.219333.200 1547468342 installed
<13>Jan 15 08:00:36 rpmi: libquadmath8-devel-8.2.1-alt3 sisyphus.219333.200 1547468342 installed
<13>Jan 15 08:00:36 rpmi: libgfortran5-8.2.1-alt3 sisyphus.219333.200 1547468342 installed
<13>Jan 15 08:00:36 rpmi: libXau-devel-1.0.8-alt1 1369565808 installed
<13>Jan 15 08:00:36 rpmi: libICE-devel-1.0.9-alt1 1409902721 installed
<13>Jan 15 08:00:36 rpmi: libSM-devel-1.2.3-alt1 sisyphus.215747.100 1540812795 installed
<13>Jan 15 08:00:36 rpmi: libOpenGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed
<13>Jan 15 08:00:36 rpmi: libGLES-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed
<13>Jan 15 08:00:36 rpmi: rpm-build-tcl-0.5.1-alt1 1519671307 installed
<13>Jan 15 08:00:37 rpmi: tcl-devel-8.6.8-alt1 1518663643 installed
<13>Jan 15 08:00:37 rpmi: libpng16-1.6.35-alt1 sisyphus.214397.100 1539159349 installed
<13>Jan 15 08:00:37 rpmi: libgraphite2-1.3.13-alt1 sisyphus.218545.100 1545686511 installed
<13>Jan 15 08:00:37 rpmi: libharfbuzz-2.2.0-alt1 sisyphus.218134.500 1545261518 installed
<13>Jan 15 08:00:37 rpmi: libfreetype-2.9.1-alt1.S1 1530781053 installed
<13>Jan 15 08:00:37 rpmi: fontconfig-2.13.1-alt1 sisyphus.215917.100 1540973886 installed
Updating fonts cache: <29>Jan 15 08:00:38 fontconfig: Updating fonts cache: succeeded
[ DONE ]
<13>Jan 15 08:00:38 rpmi: libxshmfence-1.2-alt2 1518613552 installed
<13>Jan 15 08:00:38 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed
<13>Jan 15 08:00:38 rpmi: libXdmcp-1.1.1-alt1 1334617701 installed
<13>Jan 15 08:00:38 rpmi: libxcb-1.13.1-alt1 sisyphus.214413.100 1539170896 installed
<13>Jan 15 08:00:38 rpmi: libX11-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed
<13>Jan 15 08:00:38 rpmi: libXext-1.3.3-alt1 1409902959 installed
<13>Jan 15 08:00:38 rpmi: libXt-1.1.4-alt1 1369984722 installed
<13>Jan 15 08:00:38 rpmi: libXmu-1.1.2-alt1 1391072530 installed
<13>Jan 15 08:00:38 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed
<13>Jan 15 08:00:38 rpmi: libXdamage-1.1.3-alt4 1297162593 installed
<13>Jan 15 08:00:38 rpmi: libXfixes-5.0.3-alt1 sisyphus.216396.300 1542022162 installed
<13>Jan 15 08:00:38 rpmi: libXrender-0.9.8-alt1 1371312112 installed
<13>Jan 15 08:00:38 rpmi: libXft-2.3.2-alt1 1409902660 installed
<13>Jan 15 08:00:38 rpmi: libtk-8.6.8-alt1 1518663864 installed
<13>Jan 15 08:00:38 rpmi: tk-8.6.8-alt1 1518663864 installed
<13>Jan 15 08:00:41 rpmi: libxcb-devel-1.13.1-alt1 sisyphus.214413.100 1539170896 installed
<13>Jan 15 08:00:41 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed
<13>Jan 15 08:00:41 rpmi: libXt-devel-1.1.4-alt1 1369984722 installed
<13>Jan 15 08:00:41 rpmi: libwayland-client-1.16.0-alt1 1535614871 installed
<13>Jan 15 08:00:41 rpmi: libpciaccess-1:0.14-alt1 1528969252 installed
<13>Jan 15 08:00:41 rpmi: libdrm-1:2.4.96-alt1 sisyphus.215486.100 1540374027 installed
<13>Jan 15 08:00:41 rpmi: libGLX-mesa-4:18.3.1-alt1 sisyphus.218704.100 1545992861 installed
<13>Jan 15 08:00:41 rpmi: libGLX-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed
<13>Jan 15 08:00:41 rpmi: libGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed
<13>Jan 15 08:00:41 rpmi: libGLU-4:9.0.0-alt1 1347643784 installed
<13>Jan 15 08:00:41 rpmi: libgbm-4:18.3.1-alt1 sisyphus.218704.100 1545992861 installed
<13>Jan 15 08:00:41 rpmi: libEGL-mesa-4:18.3.1-alt1 sisyphus.218704.100 1545992861 installed
<13>Jan 15 08:00:41 rpmi: libEGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed
<13>Jan 15 08:00:41 rpmi: libglvnd-devel-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed
<13>Jan 15 08:00:41 rpmi: libEGL-devel-4:18.3.1-alt1 sisyphus.218704.100 1545992861 installed
<13>Jan 15 08:00:41 rpmi: libGL-devel-4:18.3.1-alt1 sisyphus.218704.100 1545992861 installed
<13>Jan 15 08:00:41 rpmi: gcc-fortran-common-1.4.23-alt1 sisyphus.218115.200 1545282875 installed
<13>Jan 15 08:00:41 rpmi: libgfortran8-devel-8.2.1-alt3 sisyphus.219333.200 1547468342 installed
<13>Jan 15 08:00:43 rpmi: gcc8-fortran-8.2.1-alt3 sisyphus.219333.200 1547468342 installed
<13>Jan 15 08:00:43 rpmi: gcc-fortran-8-alt1 sisyphus.214000.40 1542664775 installed
<13>Jan 15 08:00:43 rpmi: libGLU-devel-4:9.0.0-alt1 1347643784 installed
<13>Jan 15 08:00:43 rpmi: libXmu-devel-1.1.2-alt1 1391072530 installed
<13>Jan 15 08:00:43 rpmi: libXext-devel-1.3.3-alt1 1409902959 installed
<13>Jan 15 08:00:43 rpmi: tk-devel-8.6.8-alt1 1518663864 installed
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/xcrysden-1.5.21-alt6.nosrc.rpm
Installing xcrysden-1.5.21-alt6.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.31493
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf XCrySDen-1.5.21-src
+ echo 'Source #0 (xcrysden-1.5.21-src.tar.bz2):'
Source #0 (xcrysden-1.5.21-src.tar.bz2):
+ /bin/tar -xf -
+ /bin/bzip2 -dc /usr/src/RPM/SOURCES/xcrysden-1.5.21-src.tar.bz2
+ cd XCrySDen-1.5.21-src
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #1 (xcrysden-1.5.21-opensuse-prototype.patch):'
Patch #1 (xcrysden-1.5.21-opensuse-prototype.patch):
+ /usr/bin/patch -p0
patching file C/crySurf.c
+ echo 'Patch #2 (xcrysden-1.5.21-opensuse-getline.patch):'
Patch #2 (xcrysden-1.5.21-opensuse-getline.patch):
+ /usr/bin/patch -p0
patching file C/readstrf.c
patching file C/getline.h
patching file C/make-objects
+ echo 'Patch #3 (xcrysden-1.5.21-opensuse-readlink.patch):'
Patch #3 (xcrysden-1.5.21-opensuse-readlink.patch):
+ /usr/bin/patch -p0
patching file xcrysden
+ echo 'Patch #4 (xcrysden-1.5.21-opensuse-bwidget.patch):'
Patch #4 (xcrysden-1.5.21-opensuse-bwidget.patch):
+ /usr/bin/patch -p0
patching file xcrysden
patching file Tcl/xcInit.tcl
+ echo 'Patch #5 (xcrysden-1.5.21-opensuse-gdb.patch):'
Patch #5 (xcrysden-1.5.21-opensuse-gdb.patch):
+ /usr/bin/patch -p0
patching file xcrysden
Hunk #1 succeeded at 225 (offset 5 lines).
+ echo 'Patch #6 (xcrysden-1.5.21-alt-autoreq.patch):'
Patch #6 (xcrysden-1.5.21-alt-autoreq.patch):
+ /usr/bin/patch -p1
patching file xcrysden
+ echo 'Patch #7 (xcrysden-1.5.21-alt-tcltk8.6.patch):'
Patch #7 (xcrysden-1.5.21-alt-tcltk8.6.patch):
+ /usr/bin/patch -p0
patching file C/cryDispFunc.c
patching file C/cryDispFuncMultiFS.c
patching file C/crySurf.c
patching file C/crySurfArgs.c
patching file C/cryTogl.c
patching file C/gl2psPrintTogl.c
patching file C/ppmPrintTogl.c
patching file C/realTimeMovie.c
patching file C/togl.c
patching file C/writeXSF.c
patching file C/xcAppInit.c
patching file C/xcAtomAdd.c
patching file C/xcBz.c
patching file C/xcColorScheme.c
patching file C/xcF3toI4.c
patching file C/xcFont.c
patching file C/xcForces.c
patching file C/xcFractCoor.c
patching file C/xcGLparam.c
patching file C/xcHBonds.c
patching file C/xcIsoDataGrid.c
patching file C/xcIsoSpaceSel.c
patching file C/xcIsoSurf.c
patching file C/xcMolSurf.c
patching file C/xcReadXSF.c
patching file C/xcSelect.c
patching file C/xcSuperCell.c
patching file C/xcTogl.c
patching file C/xcWigner.c
patching file system/Make.aix-gcc-static
patching file system/Make.dec
patching file system/Make.dec-gcc-static
patching file system/Make.dec-gcc-staticTclTk
patching file system/Make.dec-static
patching file system/Make.linux
patching file system/Make.linux-alpha
patching file system/Make.linux-semishared
patching file system/Make.linux-static
patching file system/Make.macosx-x11
patching file system/Make.macosx-x11-static
patching file system/Make.macosx-x11-tone-elettra
patching file system/Make.sgi-static
patching file system/Make.sgi-static-gcc
patching file system/Make.sgi-staticTclTk-gcc
patching file system/Make.sunos
patching file system/Make.sys
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.18583
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd XCrySDen-1.5.21-src
+ cp system/Make.linux Make.sys
+ make all 'CFLAGS= -fPIC -DUSE_FONTS' 'FFLAGS=-O2 ' 'X_LIB=-L/usr/lib -lXmu -lX11 -lXext'
make: Entering directory '/usr/src/RPM/BUILD/XCrySDen-1.5.21-src'
if test ! -d bin ; then mkdir bin; fi
if test -d external/src ; then \
cd external/src; make  "TOPDIR=/usr/src/RPM/BUILD/XCrySDen-1.5.21-src" tcl; fi
if test -d external/src ; then \
cd external/src; make  "TOPDIR=/usr/src/RPM/BUILD/XCrySDen-1.5.21-src" tk; fi
if test -d external/src ; then \
cd external/src; make  "TOPDIR=/usr/src/RPM/BUILD/XCrySDen-1.5.21-src" mesa; fi

#------------------------------#
#                              #
#   Compiling XCRYSDEN C-code  #
#                              #
#------------------------------#

cd C; make "TOPDIR=/usr/src/RPM/BUILD/XCrySDen-1.5.21-src" compile
make[1]: Entering directory '/usr/src/RPM/BUILD/XCrySDen-1.5.21-src/C'
make  TOPDIR=/usr/src/RPM/BUILD/XCrySDen-1.5.21-src
make[2]: Entering directory '/usr/src/RPM/BUILD/XCrySDen-1.5.21-src/C'
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c detnsplit.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcAppInit.c
xcAppInit.c: In function 'Xcrys_Init':
xcAppInit.c:509:7: warning: initialization of 'int (*)(Togl *, int,  const char **)' {aka 'int (*)(struct Togl *, int,  const char **)'} from incompatible pointer type 'int (*)(struct Togl *, int,  char **)' [-Wincompatible-pointer-types]
     { CRY_gl2psPrintToglCb, "cry_gl2psPrintTogl" },
       ^~~~~~~~~~~~~~~~~~~~
xcAppInit.c:509:7: note: (near initialization for 'custom_callback[0].proc')
xcAppInit.c:510:7: warning: initialization of 'int (*)(Togl *, int,  const char **)' {aka 'int (*)(struct Togl *, int,  const char **)'} from incompatible pointer type 'int (*)(struct Togl *, int,  char **)' [-Wincompatible-pointer-types]
     { CRY_Dump2PpmCb,       "cry_dump2ppm" },
       ^~~~~~~~~~~~~~
xcAppInit.c:510:7: note: (near initialization for 'custom_callback[1].proc')
xcAppInit.c:511:7: warning: initialization of 'int (*)(Togl *, int,  const char **)' {aka 'int (*)(struct Togl *, int,  const char **)'} from incompatible pointer type 'int (*)(struct Togl *, int,  char **)' [-Wincompatible-pointer-types]
     { CRY_ToglZoomCb,       "cry_toglzoom" },
       ^~~~~~~~~~~~~~
xcAppInit.c:511:7: note: (near initialization for 'custom_callback[2].proc')
xcAppInit.c:512:7: warning: initialization of 'int (*)(Togl *, int,  const char **)' {aka 'int (*)(struct Togl *, int,  const char **)'} from incompatible pointer type 'int (*)(struct Togl *, int,  char **)' [-Wincompatible-pointer-types]
     { CRY_RealTimeMovieCb,  "xc_realtimemovie" },
       ^~~~~~~~~~~~~~~~~~~
xcAppInit.c:512:7: note: (near initialization for 'custom_callback[3].proc')
xcAppInit.c:513:7: warning: initialization of 'int (*)(Togl *, int,  const char **)' {aka 'int (*)(struct Togl *, int,  const char **)'} from incompatible pointer type 'int (*)(struct Togl *, int,  char **)' [-Wincompatible-pointer-types]
     { XC_SetFontCb,         "xc_setfont" },
       ^~~~~~~~~~~~
xcAppInit.c:513:7: note: (near initialization for 'custom_callback[4].proc')
xcAppInit.c:514:7: warning: initialization of 'int (*)(Togl *, int,  const char **)' {aka 'int (*)(struct Togl *, int,  const char **)'} from incompatible pointer type 'int (*)(struct Togl *, int,  char **)' [-Wincompatible-pointer-types]
     { XC_SetAtomLabelCb,    "xc_setatomlabel" },
       ^~~~~~~~~~~~~~~~~
xcAppInit.c:514:7: note: (near initialization for 'custom_callback[5].proc')
xcAppInit.c:515:7: warning: initialization of 'int (*)(Togl *, int,  const char **)' {aka 'int (*)(struct Togl *, int,  const char **)'} from incompatible pointer type 'int (*)(struct Togl *, int,  char **)' [-Wincompatible-pointer-types]
     { XC_ClearAtomLabelCb,  "xc_clearatomlabel" },
       ^~~~~~~~~~~~~~~~~~~
xcAppInit.c:515:7: note: (near initialization for 'custom_callback[6].proc')
xcAppInit.c:516:7: warning: initialization of 'int (*)(Togl *, int,  const char **)' {aka 'int (*)(struct Togl *, int,  const char **)'} from incompatible pointer type 'int (*)(struct Togl *, int,  char **)' [-Wincompatible-pointer-types]
     { XC_QueryFontCb,       "xc_queryfont" },
       ^~~~~~~~~~~~~~
xcAppInit.c:516:7: note: (near initialization for 'custom_callback[7].proc')
xcAppInit.c:535:23: warning: assignment to 'int *' from incompatible pointer type 'GLfloat (*)[3]' {aka 'float (*)[3]'} [-Wincompatible-pointer-types]
   atm.sqn = atm.sqnat = atm.col = NULL;
                       ^
xcAppInit.c:747:36: warning: passing argument 2 of 'Togl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types]
   Togl_CreateCommand( "xc_rotate", XC_RotateCb );
                                    ^~~~~~~~~~~
In file included from xcAppInit.c:24:
togl.h:136:67: note: expected 'int (*)(Togl *, int,  const char **)' {aka 'int (*)(struct Togl *, int,  const char **)'} but argument is of type 'int (*)(struct Togl *, int,  char **)'
 TOGL_EXTERN void Togl_CreateCommand(char *cmd_name, Togl_CmdProc *cmd_proc);
                                                     ~~~~~~~~~~~~~~^~~~~~~~
xcAppInit.c:749:39: warning: passing argument 2 of 'Togl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types]
   Togl_CreateCommand( "xc_translate", XC_TranslateCb );
                                       ^~~~~~~~~~~~~~
In file included from xcAppInit.c:24:
togl.h:136:67: note: expected 'int (*)(Togl *, int,  const char **)' {aka 'int (*)(struct Togl *, int,  const char **)'} but argument is of type 'int (*)(struct Togl *, int,  char **)'
 TOGL_EXTERN void Togl_CreateCommand(char *cmd_name, Togl_CmdProc *cmd_proc);
                                                     ~~~~~~~~~~~~~~^~~~~~~~
xcAppInit.c:751:38: warning: passing argument 2 of 'Togl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types]
   Togl_CreateCommand( "xc_B1motion", XC_B1MotionCb );
                                      ^~~~~~~~~~~~~
In file included from xcAppInit.c:24:
togl.h:136:67: note: expected 'int (*)(Togl *, int,  const char **)' {aka 'int (*)(struct Togl *, int,  const char **)'} but argument is of type 'int (*)(struct Togl *, int,  char **)'
 TOGL_EXTERN void Togl_CreateCommand(char *cmd_name, Togl_CmdProc *cmd_proc);
                                                     ~~~~~~~~~~~~~~^~~~~~~~
xcAppInit.c:753:43: warning: passing argument 2 of 'Togl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types]
   Togl_CreateCommand( "xc_ShiftB1motion", XC_ShiftB1MotionCb );
                                           ^~~~~~~~~~~~~~~~~~
In file included from xcAppInit.c:24:
togl.h:136:67: note: expected 'int (*)(Togl *, int,  const char **)' {aka 'int (*)(struct Togl *, int,  const char **)'} but argument is of type 'int (*)(struct Togl *, int,  char **)'
 TOGL_EXTERN void Togl_CreateCommand(char *cmd_name, Togl_CmdProc *cmd_proc);
                                                     ~~~~~~~~~~~~~~^~~~~~~~
xcAppInit.c:755:38: warning: passing argument 2 of 'Togl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types]
   Togl_CreateCommand( "xc_B2motion", XC_B2MotionCb );
                                      ^~~~~~~~~~~~~
In file included from xcAppInit.c:24:
togl.h:136:67: note: expected 'int (*)(Togl *, int,  const char **)' {aka 'int (*)(struct Togl *, int,  const char **)'} but argument is of type 'int (*)(struct Togl *, int,  char **)'
 TOGL_EXTERN void Togl_CreateCommand(char *cmd_name, Togl_CmdProc *cmd_proc);
                                                     ~~~~~~~~~~~~~~^~~~~~~~
xcAppInit.c:757:38: warning: passing argument 2 of 'Togl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types]
   Togl_CreateCommand( "xc_Brelease", XC_ButtonReleaseCb );
                                      ^~~~~~~~~~~~~~~~~~
In file included from xcAppInit.c:24:
togl.h:136:67: note: expected 'int (*)(Togl *, int,  const char **)' {aka 'int (*)(struct Togl *, int,  const char **)'} but argument is of type 'int (*)(struct Togl *, int,  char **)'
 TOGL_EXTERN void Togl_CreateCommand(char *cmd_name, Togl_CmdProc *cmd_proc);
                                                     ~~~~~~~~~~~~~~^~~~~~~~
xcAppInit.c:759:38: warning: passing argument 2 of 'Togl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types]
   Togl_CreateCommand( "xc_dump2eps", XC_Dump2EpsCb );
                                      ^~~~~~~~~~~~~
In file included from xcAppInit.c:24:
togl.h:136:67: note: expected 'int (*)(Togl *, int,  const char **)' {aka 'int (*)(struct Togl *, int,  const char **)'} but argument is of type 'int (*)(struct Togl *, int,  char **)'
 TOGL_EXTERN void Togl_CreateCommand(char *cmd_name, Togl_CmdProc *cmd_proc);
                                                     ~~~~~~~~~~~~~~^~~~~~~~
xcAppInit.c: In function 'XC_OpenStrCmd':
xcAppInit.c:804:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_openstr <fileformat> <file> <toglName> ?DisplayMode?";
     ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:816:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"unknown format \"%s\", must be one of \"xcr\", \"xyz\", \"pdb\"", argv[1]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:823:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "Can't open file \"%s\"",argv[2]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:829:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:839:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "Unknown DisplayMode \"%s\". Must be one of WF, PL, BS1, BS2",argv[4]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:856:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"Error reading file \"%s\"",argv[2]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c: In function 'XC_DisplayMode2DCmd':
xcAppInit.c:959:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_displayMode2D <toglName> <displayMode>";
     ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:965:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:977:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"Unknown <displayMode> \"%s\", must be one of WF, PL, PB, BS1, BS2, SF", argv[2]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1033:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"unknown display mode \"%s\", must be one of WF, PL,PB, BS1, BS2, SF\n",argv[2]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c: In function 'XC_RotateCb':
xcAppInit.c:1067:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: <toglName> xc_rotate <dir> <rotstep> ?<rotstep1>?";
     ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1106:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  interp->result = "invalid rotation direction in xc_rotate command, must be one of +x, -x, +y, -y, +z, -z, xy, xz, yz";
  ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1147:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  interp->result = "invalid rotation direction in xc_rotate command, must be one of +x, -x, +y, -y, +z, -z, ++xy, ++xz, ++yz, xy, xz, yz, ab, ac, bc";
  ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1237:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  interp->result = "invalid rotation direction in xc_rotate command, must be one of +x, -x, +y, -y, +z, -z, ++xy, ++xz, ++yz, xy, xz, yz, ab, ac, bc";
  ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c: In function 'XC_TranslateCb':
xcAppInit.c:1401:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: <toglName> xc_translate <dir> <translstep> ";
     ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1430:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"invalid translation direction \"%s\" in xc_translate command, must be one of +x, -x, +y, -y, +z, -z",argv[2]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c: In function 'XC_CloseStrCmd':
xcAppInit.c:1467:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_closestr <toglName>";
     ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1473:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1480:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "stucture has already been closed or not opened yet!!!";
     ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c: In function 'XC_DisplayMode3DCmd':
xcAppInit.c:1574:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_displayMode3D <toglName> over|boolean <displayMode>";
     ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1580:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1595:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_displayMode3D over|boolean <displayMode>";
     ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1611:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"Unknown <displayMode> \"%s\", must be one of S, B, SF, BS", argv[3]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c: In function 'XC_DrawStyle3DCmd':
xcAppInit.c:1729:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_drawStyle3D <toglName> <drawStyle>";
     ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1735:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1777:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c: In function 'XC_ShadeModel3DCmd':
xcAppInit.c:1804:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_shadeModel3D <toglName> <shadeModel>";
     ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1810:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1830:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c: In function 'XC_PointSizeCmd':
xcAppInit.c:1854:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_pointSize <toglName> <pointSize>";
     ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1860:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1866:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"wanted integer, but got \"%s\" in xc_poinsize command", argv[1]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c: In function 'XC_ResetVarCmd':
xcAppInit.c:1899:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_resetvar <toglName> <var>";
     ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1905:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1911:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"wanted integer, but got \"%s\" in xc_resetvar command", argv[2]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c: In function 'XC_NewValueCmd':
xcAppInit.c:1940:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_newvalue <toglName> <var> ?value1? ?value2? ?value3? ?value4?";
     ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1946:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1952:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"wanted integer for <var>, but got \"%s\" in xc_newvalue command", argv[2]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1958:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted number, but got \"%s\" while executing %s %s %s", argv[i], argv[0], argv[1], argv[2]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1969:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "wrong number of arguments %d, must be xc_newvalue togl SET_ATOMLABEL_DO_DISPLAY atomID 0|1", argc);
       ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1974:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "atomID out of range, should be between [0,%d]", natoms);
       ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:1989:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "wrong number of arguments %d, must be xc_newvalue togl SET_GLOBALATOMLABEL_DO_DISPLAY 0|1", argc);
       ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2005:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "wrong number of arguments %d, must be xc_newvalue togl SET_DO_NOT_DISPLAY_LABEL atomID 0|1", argc);
       ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2010:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "atomID out of range, should be between [0,%d]", natoms);
       ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c: In function 'XC_GetDefaultCmd':
xcAppInit.c:2043:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_getdefault <var> ?value?";
     ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2048:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"wanted integer, but got \"%s\" in xc_getdefault command", argv[1]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2053:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\" in xc_getdefault command", argv[2]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c: In function 'XC_GetValueCmd':
xcAppInit.c:2126:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_getvalue <var> ?value?";
     ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2131:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"wanted integer, but got \"%s\" in xc_getvalue command", argv[1]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2136:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\" in xc_getvalue command", argv[2]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2184:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "atom index %d too large, must be between [1,%d]",
  ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2193:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "atom index %d too large, must be between [1,%d]",
       ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2205:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "atom index %d too large, must be between [1,%d]",
       ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2220:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "atom index %d too large, must be between [1,%d]",
       ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2236:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "atom index %d out of range, should be between [0,%d]",
       ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c: In function 'XC_UpdateStrCmd':
xcAppInit.c:2316:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_updatestr <file> <toglName>";
     ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2326:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "Can't open file \"%s\"",argv[1]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2332:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2352:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"Error reading file \"%s\"",argv[1]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c: In function 'XC_SwapBufferCmd':
xcAppInit.c:2403:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_swapbuffer <toglName>";
     ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2409:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c: In function 'XC_DisplayCmd':
xcAppInit.c:2438:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_display <toglName>";
     ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2444:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c: In function 'XC_Dump2EpsCb':
xcAppInit.c:2467:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: <toglName> xc_dump2eps <filename> ?<colorEPS>?";
     ^~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2473:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\" while executing %s %s %s %s", argv[3], argv[0], argv[1], argv[2], argv[3]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c: In function 'XC_RotationMatrixCmd':
xcAppInit.c:2520:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "wrong # args: should be \"xc_rotationmatrix set v1 ... v16\"");
  ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2526:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
      sprintf(interp->result, "wanted double but got %s", argv[i+2]);
      ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2541:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "unknown mode %s, must be get or set", argv[1]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c: In function 'XC_TranslParamCmd':
xcAppInit.c:2570:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "wrong # args: should be \"translparam set xtransl ytransl zoom\"");
  ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2576:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
      sprintf(interp->result, "wanted double but got %s", argv[i+2]);
      ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAppInit.c:2588:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "unknown mode %s, must be get or set", argv[1]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcAppInit.c:24:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcballstick.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcviewport.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcLabels.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c vectors.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcDisplayFunc2.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcAtomAdd.c
xcAtomAdd.c: In function 'XC_AtomAddCmd':
xcAtomAdd.c:92:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_atomadd <toglName> begin|update|clean ?AF? ?BF? ?CF?";
     ^~~~~~
In file included from togl.h:48,
                 from xcAtomAdd.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAtomAdd.c:98:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcAtomAdd.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAtomAdd.c:150:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "calling \"xc_atomadd <toglName> update\" command, before initialising atom-add process with \"xc_atomadd <toglName> begin\"";
       ^~~~~~
In file included from togl.h:48,
                 from xcAtomAdd.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAtomAdd.c:156:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "wrong usage of \"xc_atomadd <toglName> update\" command, must be \"xc_addatom <toglName> update <AF> <BF> <CF>\"";
       ^~~~~~
In file included from togl.h:48,
                 from xcAtomAdd.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAtomAdd.c:161:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"got invalid value for <AF>, while executing %s %s %s %s %s %s\n",argv[0],argv[1],argv[2],argv[3],argv[4],argv[5]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcAtomAdd.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAtomAdd.c:165:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"got invalid value for <BF>, while executing %s %s %s %s %s %s\n",argv[0],argv[1],argv[2],argv[3],argv[4],argv[5]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcAtomAdd.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAtomAdd.c:169:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"got invalid value for <CF>, while executing %s %s %s %s %s %s\n",argv[0],argv[1],argv[2],argv[3],argv[4],argv[5]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcAtomAdd.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAtomAdd.c:184:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "calling \"xc_atomadd <toglName> clean\" command, before initialising atom-add process with \"xc_atomadd <toglName> begin\"";
       ^~~~~~
In file included from togl.h:48,
                 from xcAtomAdd.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcAtomAdd.c:194:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"unkown option \"%s\" for \"xc_atomadd\" comand, must be one of begin, update, clean",argv[2]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcAtomAdd.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c loadValues.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c hpsort.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c auxilproc.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcdebug.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c 3D.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcDisplayFunc.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c readstrf.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c mxmymz.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c remakestr.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcSelect.c
xcSelect.c: In function 'XC_SelectCmd':
xcSelect.c:183:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_select <toglName> sqn|atom|line|clean|flush|finish ?value1? ?value2?";
     ^~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:189:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:237:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "wrong usage of \"xc_select <toglName> sqn\" command, must be \"xc_select <toglName> sqn <x> <y>\"";
       ^~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:242:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"got invalid value for <x>, while executing %s %s %s %s %s\n",argv[0],argv[1],argv[2],argv[3],argv[4]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:246:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"got invalid value for <y>, while executing %s %s %s %s %s\n",argv[0],argv[1],argv[2],argv[3],argv[4]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:251:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "calling \"xc_select sqn\" command, before initialising selection process with \"xc_select begin\"";
       ^~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:270:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "wrong usage of \"xc_select <toglName> atom\" command, must be \"xc_select <toglName> atom <sqn>\"";
       ^~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:275:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"got invalid value for <sqn>, while executing %s %s %s %s\n",argv[0],argv[1],argv[2],argv[3]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:280:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"got invalid value for <sqn>, while executing %s %s %s %s; must be from 1 to %d",argv[0],argv[1],argv[2],argv[3],natoms);
       ^~~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:285:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "calling \"xc_select atom\" command, before initialising selection process with \"xc_select begin\"";
       ^~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:298:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "wrong usage of \"xc_select <toglName> line\" command, must be \"xc_select <toglName> line <sqn1> <sqn2>\"";
       ^~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:303:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"got invalid value for <sqn1>, while executing %s %s %s %s %s\n",argv[0],argv[1],argv[2],argv[3],argv[4]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:307:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"got invalid value for <sqn2>, while executing %s %s %s %s %s\n",argv[0],argv[1],argv[2],argv[3],argv[4]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:312:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"got invalid value for <sqn1> or <sqn2>, while executing %s %s %s %s %s; must be from 1 to %d",argv[0],argv[1],argv[2],argv[3],argv[4],natoms);
       ^~~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:316:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"<sqn1> and <sqn2> are the same; while executing %s %s %s %s %s",argv[0],argv[1],argv[2],argv[3],argv[4]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:321:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "at least two atoms must be selected, before calling \"xc_select line <sqn1> <sqn2>\"";
       ^~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:326:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "calling \"xc_select line\" command, before initialising selection process with \"xc_select begin\"";
       ^~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:338:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "calling \"xc_select clean\" command, before initialising selection process with \"xc_select begin\"";
       ^~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:379:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"unkown option \"%s\" for \"xc_select\" comand, must be one of begin, sqn, atom, line, clean, flush, finish",argv[2]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c: In function 'XC_DeselectCmd':
xcSelect.c:1295:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_deselect <toglName> atom|line ?sqn?";
     ^~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:1301:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:1315:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "Usage: xc_deselect <toglName> atom <sqn>";
       ^~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:1320:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"got invalid value for <sqn>, while executing %s %s %s %s\n",argv[0],argv[1],argv[2],argv[3]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:1350:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "attempt to deselect an atom, that was never selected";
       ^~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:1385:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "Usage: xc_deselect <toglName> line";
       ^~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSelect.c:1419:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"unkown option \"%s\" for \"xc_deselect\" command, must be one of atom, line",argv[2]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcSelect.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c readisodata.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c lighting.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcGLparam.c
xcGLparam.c: In function 'XC_SetGLparamCmd':
xcGLparam.c:142:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result =
     ^~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:187:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
      sprintf(interp->result,"unknown value \"%s\", must be one of pos, neg, one, while executing %s %s %s %s ....",
      ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:198:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
      sprintf(interp->result,"unknown value \"%s\", must be one of front, back, while executing %s %s %s %s ....",
      ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:204:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"unknown value \"%s\", must be one of structure, isosurf, while executing %s %s %s %s ...",
    ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:230:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", must be one of -what, -specular, -shininess, -ambient, -diffuse, or -emission, while executing %s %s %s %s ...",argv[i], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:286:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", must be one of -light -ambient, -diffuse, -specular, -fract_position, -spot_dir, -spot_exp, -spot_cutoff, -cont_atten, -lin_atten, -quad_atten, while executing %s %s %s %s ...",argv[i], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:325:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", must be one of -two_side, -two_side_iso, -ambient, -local_viewer, -enable_light -disable_light, while executing %s %s %s %s ...",argv[i], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:342:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"unknown value \"%s\", must be one of: isosurf_one, isosurf_pos or isosurf_neg; while executing %s %s %s %s",
    ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:353:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"unknown value \"%s\", must be one of CCW, CW, while executing %s %s %s %s",
    ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:359:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", must be one of -what, -frontface, while executing %s %s %s %s",
  ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:376:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "unknown value %s for -what option, must be one of isosurf_one, isosurf_pos or isosurf_neg, while executing %s %s %s",
  ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:384:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "unknown option %s, must be -what, while executing %s %s %s", argv[2], argv[0], argv[1], argv[2]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:399:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"unknown value \"%s\", must be one of isosurf, colorplane; while executing %s %s %s %s",
    ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:425:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"unknown SOURCE BLEND FUNCTION \"%s\", must be one of GL_ZERO, GL_ONE, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_SRC_ALPHA_SATURATE\", while executing %s %s %s %s",
    ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:449:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"unknown DESTINATION BLEND FUNCTION \"%s\", must be one of GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SCR_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA\", while executing %s %s %s %s",
    ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:464:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"unknown option \"%s\", must be -color", argv[2]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:470:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"unknown argument \"%s\", must be one of material, light, lightmodel, frontface or isonormal or blendfunc or fog, while executing %s %s ...",
     ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:641:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "light number %d is out of range, should be between 0 and %d", il, GLPAR_MAXLIGHT);
  ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:692:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"light number %d is out of range, should be between 0 and %d", il, GLPAR_MAXLIGHT);
  ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c: In function 'XC_GetGLparamCmd':
xcGLparam.c:846:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result =
     ^~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:878:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
      sprintf(interp->result,"unknown value \"%s\", must be one of pos, neg, one, while executing %s %s %s %s ....",
      ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:889:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
      sprintf(interp->result,"unknown value \"%s\", must be one of front, back, while executing %s %s %s %s ....",
      ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:895:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"unknown value \"%s\", must be one of structure, isosurf, while executing %s %s %s %s ...",
    ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:923:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"unknown value \"%s\" for -get option - must be one of \"specular, shininess, ambient, diffuse, emission\"def_*\"\", while executing %s %s %s %s ...",argv[i+1],argv[0],argv[1],argv[2],argv[3]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:927:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", must be one of -what, -get, while executing %s %s %s %s ...",argv[i], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:982:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"unknown value \"%s\" for -get option - must be one of \"specular, ambient, diffuse, fract_position, spot_dir, spot_exp, spot_cutoff, const_atten, lin_ateen, quad_atten, \"def_*\"\", while executing %s %s %s %s ...",argv[i+1],argv[0],argv[1],argv[2],argv[3]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:987:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", must be one of -light or -get, while executing %s %s %s %s ...",argv[i], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:1011:44: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types]
  Tcl_SplitList(interp, argv[3], &argcList, &argvList);
                                            ^~~~~~~~~
In file included from /usr/include/tcl.h:2445,
                 from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tclDecls.h:723:21: note: expected 'const char ***' but argument is of type 'char ***'
     CONST84 char ***argvPtr);
                     ^
xcGLparam.c:1013:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"expected \"is_light_enabled <n>\", but got \"%s\", while executing %s %s %s %s ...",
    ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:1018:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"expected integer, but got \"%s\", while executing %s %s %s %s ...",
    ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:1022:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"only up to %d lights can be defined, but you try to query light number %d, while executing %s %s %s %s ...",
    ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:1051:44: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types]
  Tcl_SplitList(interp, argv[3], &argcList, &argvList);
                                            ^~~~~~~~~
In file included from /usr/include/tcl.h:2445,
                 from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tclDecls.h:723:21: note: expected 'const char ***' but argument is of type 'char ***'
     CONST84 char ***argvPtr);
                     ^
xcGLparam.c:1053:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"expected \"is_light_enabled <n>\", but got \"%s\", while executing %s %s %s %s ...",
    ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:1058:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"expected integer, but got \"%s\", while executing %s %s %s %s ...",
    ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:1062:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"only up to %d lights can be defined, but you try to query light number %d, while executing %s %s %s %s ...",
    ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:1076:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unkown value \"%s\" for -get option, must be one of \"two_side. two_side_iso, ambient, local_viewer, {is_light_enabled <n>}\", while executing %s %s %s %s ....",argv[3], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:1081:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"unknown option \"%s\", must be one of -get, while executing %s %s %s %s ...",argv[3], argv[0], argv[1], argv[2], argv[3]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:1099:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"unknown value \"%s\", must be one of: isosurf_one, isosurf_pos, isosurf_neg; while executing %s %s %s %s", argv[3], argv[0], argv[2], argv[3], argv[4]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:1109:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown value \"%s\", must be one of: isosurf_one, isosurf_pos, isosurf_neg; while executing %s %s %s %s", argv[3], argv[0], argv[2], argv[3], argv[4]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:1113:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"unknown option \"%s\", must be -what, while executing %s %s %s %s", argv[2], argv[0], argv[2], argv[3], argv[4]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:1207:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown value \"%s\", must be isosurf, while executing %s %s %s %s", argv[3], argv[0], argv[2], argv[3], argv[4]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:1216:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"unknown option \"%s\", must be -what, while executing %s %s %s %s", argv[3], argv[0], argv[2], argv[3], argv[4]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:1232:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "unknown value \"%s\", must be fogcolor or def_fogcolor", argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:1237:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "unknown option %s, must be -get", argv[2]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:1243:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"unknown argument \"%s\", must be one of material, light, lightmodel, blendfunc or fog, while executing %s %s ...",
     ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:1861:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"light number %d is out of range, should be between 0 and %d",il, GLPAR_MAXLIGHT);
  ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c: In function 'xcSplitList':
xcGLparam.c:1969:45: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types]
   Tcl_SplitList(interp, argv[0], &argcList, &argvList);
                                             ^~~~~~~~~
In file included from /usr/include/tcl.h:2445,
                 from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tclDecls.h:723:21: note: expected 'const char ***' but argument is of type 'char ***'
     CONST84 char ***argvPtr);
                     ^
xcGLparam.c: In function 'xcTclListError':
xcGLparam.c:2004:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"invalid format of RGBA list, should be {r g b a}; while evaluating option %s %s", argv[0], argv[1]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:2008:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"invalid format of XYZ list, should be {x y z}; while evaluating option %s %s", argv[0], argv[1]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:2012:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"invalid format of XYZW list, should be {x y z w}; while evaluating option %s %s", argv[0], argv[1]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:2016:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"wanted float, but got %s, while evaluating %s %s",
     ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcGLparam.c:2021:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"wanted integer, \
     ^~~~~~~
In file included from togl.h:48,
                 from xcGLparam.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c colorplane.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c isorender.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c polygonise.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c polygonise_auxil.c
polygonise_auxil.c:31: warning: "MAX" redefined
 #define MAX(x,y) ( (x)>(y) ? (x) : (y) )
 
In file included from polygonise_auxil.c:22:
struct.h:47: note: this is the location of the previous definition
 #define MAX(a,b) ( (a)>(b)?(a):(b) )
 
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcIsoSurf.c
xcIsoSurf.c: In function 'XC_IsoCmd':
xcIsoSurf.c:299:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_iso init|finish|(end isostack|isosign)|grid|save filename identifier|minvalue|maxvalue|(isolevel <value> ?<value>?)|polygonise|(smoothsteps <nstep>)|smoothweight <weight>)|(get smoothsteps|smoothweight)|(isoplane <type> <colorBase> <scalefunc> <what> ?<islide>?)|isoplaneconfig <object> -isoplanemin  <min>\n-isoplanemax  <max>\n-isolinecolor {monocolor r g b}\n-isolinewidth width\n-isoplanelighting 0/1| polycolor\nisolinedash  negdash | fulldash\n-isolinenlevels <nlevels>";
     ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:340:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "\"xc_isostack\", \"xc_isosign\", \"xc_isofiles\", \"xc_isopoints\" and \"xc_isodata\" should be called before \"xc_iso minvalue\" command";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:344:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "coudn't open %s file for writing", argv[2]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:361:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    interp->result = "stacks #1 were not specified correctly, because they don't have equal number of frames";
    ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:373:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "Usage: xc_iso end isostack|isosign";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:388:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "\"xc_isostack\", \"xc_isosign\", \"xc_isofiles\", \"xc_isopoints\" and \"xc_isodata\" should be called before \"xc_iso minvalue\" command";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:422:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "\"xc_isostack\", \"xc_isosign\", \"xc_isofiles\", \"xc_isopoints\" and \"xc_isodata\" should be called before \"xc_iso maxvalue\" command";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:456:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "Usage: xc_iso get smoothsteps|smoothweight";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:467:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "Ugase: xc_iso isolevel <value> ?<value>?";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:477:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"wanted double, but got \"%s\", while executing %s %s %s", argv[2], argv[0], argv[1], argv[2]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:480:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"wanted double, but got \"%s\", while executing %s %s %s %s", argv[2], argv[0], argv[1], argv[2], argv[3]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:490:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"specified isolevel %f is out of range, should be between [%f - %f]", isodata.isolevel[ii], isodata.min, isodata.max);
  ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:506:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "\"xc_isostack\", \"xc_isosign\", \"xc_isofiles\", \"xc_isopoints\", \"xc_isodata\" and \xc_iso isolevel <level>\" should be called before \"xc_iso polygonise\" command";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:511:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "\"xc_isopoints <object> 3D\" must be set, before calling \"xc_iso polygonise\"";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:536:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "read character instead of integer, while executing \"xc_iso smoothsteps <nstep>\" command";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:547:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "read character instead of double, while executing \"xc_iso smoothweight <weight>\" command";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:561:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "\"xc_isostack\", \"xc_isosign\", \"xc_isofiles\", \"xc_isopoints\", \"xc_isodata\" \"xc_iso isolevel <level>\" and \"xc_iso polygonise\" should be called before \"xc_iso smoothing\" command";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:566:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "\"xc_isopoints <object> 3D\" must be set, before calling \"xc_iso smoothing\"";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:582:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result =
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:593:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "\"xc_isostack\", \"xc_isosign\", \"xc_isofiles\", \"xc_isopoints\" and \"xc_isodata\" should be called before \"xc_iso isoplane\" command";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:601:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\" while executing %s %s %s %s %s", argv[2], argv[0], argv[1], argv[2], argv[3], argv[4]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:605:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"object type \"%d\" for xc_iso isoplane is out of range, must be within [%d,%d]", type, ISOOBJ_BASE,MAX_ISOOBJECTS-1);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:618:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "\"xc_isopoints 0 2D\" must be set, before calling \"xc_iso isoplane 0\"";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:621:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "\"xc_isopoints 0 3D\" must be set, before calling \"xc_iso isoplane %d\"", type);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:629:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\" while executing %s %s %s %s %s", argv[3], argv[0], argv[1], argv[2], argv[3], argv[4]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:633:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"colorbase %d is out of range, must be within [%d,%d]", cb, COLORBASE_FIRST, COLORBASE_LAST);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:641:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\" while executing %s %s %s %s %s", argv[4], argv[0], argv[1], argv[2], argv[3], argv[4]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:645:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"scale-function %d is out of range, must be within [%d,%d]", fn, SCALE_FUNC_FIRST, SCALE_FUNC_LAST);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:705:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"wanted integer, but got \"%s\" while executing %s %s %s %s %s ...", argv[6], argv[0], argv[1], argv[2], argv[3], argv[4]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:712:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"islide #%d is out of range, should be within [%d,%d]", islide, 1, nslide);
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:755:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result, "bug in xcIsoSurf.c; plvertex[%d] was not malloced; before ColorPlane( type, cb, fn, a, b )", type);
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:776:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result, "bug in xcIsoSurf.c; isoline2D[%d] was not malloced; before Isoline2D( ptype, cb, fn, a, b )", type);
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:783:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "unknown <what> \"%s\" for xc_iso isoplane, must be one of colorplane, isoline or both, while executing %s %s %s %s %s %s", argv[5], argv[0], argv[1], argv[2], argv[3], argv[4], argv[5]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:791:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "Usage: xc_iso interpolate <degree>";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:797:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "\"xc_isostack\", \"xc_isosign\", \"xc_isofiles\", \"xc_isopoints\" and \"xc_isodata\" should be called before \"xc_iso interpolate\" command";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:801:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\" while executing %s %s %s", argv[3], argv[0], argv[1], argv[2]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:851:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "Usage: xc_iso isoplaneconfig <object> -isoplanemin  <min>\n-isoplanemax  <max>\n-isolinecolor monocolor\n-isolinewidth width\n-isoplanelighting 0/1 | polycolor\n-isolinedash  negdash | fulldash\n-isolinenlevels <nlevels>)";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:856:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"expected integer, but got %s", argv[2]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:860:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"<object> type \"%d\" is out of range, should be between [%d,%d]", obj, ISOOBJ_BASE, MAX_ISOOBJECTS-1);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:883:48: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types]
    Tcl_SplitList(interp, argv[i+1], &argcList, &argvList);
                                                ^~~~~~~~~
In file included from /usr/include/tcl.h:2445,
                 from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tclDecls.h:723:21: note: expected 'const char ***' but argument is of type 'char ***'
     CONST84 char ***argvPtr);
                     ^
xcIsoSurf.c:887:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
      sprintf(interp->result, "expected \"monocolor r, g, b, ?a?\", but got \"%s\"", argv[i+1]);
      ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:894:8: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
        sprintf(interp->result,"wanted integer, but got \"%s\" while executing xc_iso isoplane configure -isolinecolor {monocolor r, g, b, ?a?}",
        ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:913:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"wanted double, but got \"%s\", while executing %s %s ... %s %s ...", argv[i+1], argv[0], argv[1], argv[i], argv[i+1]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:926:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result, "unknown isolinedash %s, should be negdash or fulldash", argv[i+1]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:954:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result, "wanted integer, but got %s", argv[i+1]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:960:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "unknown option \"%s\", must be one of -isolinecolor, -isolinedash, -isolinenlevels, -isoplanemin, -isoplanemax", argv[i]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c: In function 'XC_IsostackCmd':
xcIsoSurf.c:1020:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result =
     ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1034:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\" as first argument in \"xc_isostack\" command", argv[1]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1038:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"to many stacks in \"xc_isostack\" command, maximum number of stacks is %d", ISODATA_MAXSTACK);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1048:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result =
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1054:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\" when executing %s %s %s", argv[0], argv[1], argv[2], argv[3]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1059:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"because only %d stacks are defined, only 0 can be specifed as first argument to \"xc_isostack\" command", isodata.nstack);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1064:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\" as second argument to \"xc_isostack\" command", argv[2]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1072:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"stack too large - %d, number must not be greater than %d; while executing %s %s %s %s",
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1078:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\" as the third argument to \"xc_isostack\" command", argv[3]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1091:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"please specify number of frames in stack-3 first, before executing %s %s %s %s", argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c: In function 'XC_IsosignCmd':
xcIsoSurf.c:1123:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result =
     ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1129:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "\"xc_isostack\" command must be called before calling \"xc_isosign\" command";
     ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1134:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"wanted integer, but got \"%s\", while executing \"%s %s %s\"", argv[0],argv[1],argv[2],argv[3]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1139:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"stack of order %d was specified, but maximim order of stack allowed is %d; while executing \"%s %s %s %s\"",
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1148:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\", while executing \"%s %s %s\"", argv[0],argv[1],argv[2],argv[3]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1154:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"wanted integer, but got \"%s\", while executing \"%s %s %s\"", argv[0],argv[1],argv[2],argv[3]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1160:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"sign must be one of -1, 0, 1; but got \"%d\", while executing \"%s %s %s %s\"", sign, argv[0],argv[1],argv[2],argv[3]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c: In function 'XC_IsofilesCmd':
xcIsoSurf.c:1197:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result =
     ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1203:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "\"xc_isostack\" & \"xc_isosign\" must be called before calling \"xc_isofiles\" command";
     ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1213:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"can't open file \"%s\"",argv[1]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1224:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"can't open file \"%s\"",argv[2]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1235:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   version = Tcl_GetVar2(interp, "system", "c95_version", TCL_GLOBAL_ONLY);
           ^
xcIsoSurf.c:1254:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"can't open file \"%s\"",argv[i]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1259:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "%s", isodata.error);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c: In function 'XC_IsopointsCmd':
xcIsoSurf.c:1299:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_isopoints 2D|3D <object> <points>";
     ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1307:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"wanted integer, but got \"%s\" while executing %s %s %s ...", argv[1], argv[0], argv[1], argv[2]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1311:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"object type \"%d\" is out of range", obj);
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1318:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "invalid number of arguments in \"xc_isopoints <objectType> 2D\" command";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1327:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "only BASE isoobjects can be of 3D type";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1332:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "invalid number of arguments in \"xc_isopoints <objectType> 3D\" command";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1340:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"unknown option \"%s\", must be one of 2D, 3D",
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1350:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted double, but got \"%s\" as %d-th argument while executing \"xc_isopoints\" command", argv[ij], ij);
  ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c: In function 'XC_IsodataCmd':
xcIsoSurf.c:1507:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "\"xc_isostack\", \"xc_isosign\", \"xc_isofiles\" and \"xc_isopoints\" should be called before \"xc_isodata\" command";
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1567:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"sequence of \"xc_isodata (<frame[i]_range>,i=%d,0,-1)\" was not used properly, because stack-0 frames must be entered in sorted fashion",ISODATA_MAXSTACK);
  ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1581:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"%s", isodata.error);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1600:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"wrong usage of \"xc_isodata\" command, should be: \nxc_isodata (<frame[i]_range>,i=%d,0,-1)\n  or\nxc_isodata make",ISODATA_MAXSTACK);
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1605:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"wrong # of arguments, while executing \"xc_isodata\" command, should be \"xc_isodata (<frame[i]_range>,i=%d,0,-1)\"",ISODATA_MAXSTACK);
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1617:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted integer, but got \"%s\", while executing \"xc_isodata (<frame[i]_range>,i=%d,0,-1)\" command", argv[i], ISODATA_MAXSTACK);
  ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1628:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"specified frame - %d of stack %d is out of range, frame should be lower than %d",
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1638:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
       fint[first] = (char) NULL;
                     ^
xcIsoSurf.c:1642:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted integer, but got \"%s\", while executing \"xc_isodata (<frame[i]_range>,i=%d,0,-1)\" command", argv[i], ISODATA_MAXSTACK);
  ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1646:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted integer, but got \"%s\", while executing \"xc_isodata (<frame[i]_range>,i=%d,0,-1)\" command", argv[i], ISODATA_MAXSTACK);
  ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1651:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"range in \"xc_isodata\" command not specified properly, should be a-b, but got %s",argv[i]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1662:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"specified range of frames - [%d-%d] of stack %d is out of range, frame should be lower than %d",
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c: In function 'XC_IsosurfCmd':
xcIsoSurf.c:1708:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_isosurf <toglName> -drawstyle wire|solid -shademodel smooth|flat -transparency on|off -render now|after -isosurf none|xxx";
     ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1714:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1725:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "\"xc_isopoints 3D ...\" command must be used before evoking \"xc_isoplane\" command";
     ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1732:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "\"xc_isostack\", \"xc_isosign\", \"xc_isofiles\", \"xc_isopoints\", \"xc_isodata\" and \"xc_iso poligonise\" should be called before \"xc_isosurf\" command";
     ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1744:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown value \"%s\" for -drawstyle option, must be either \"wire\" or \"solid\" or \"dot\", while executing %s %s",
  ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1753:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  printf(interp->result,"unknown value \"%s\" for -shademodel option, must be either \"smooth\" or \"flat\", while executing %s %s",
  ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1764:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  printf(interp->result,"unknown value \"%s\" for -transparency option, must be either \"off\" or \"on\", while executing %s %s",
  ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1775:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  printf(interp->result,"unknown value \"%s\" for -render option, must be either \"now\" or \"after\", while executing %s %s",
  ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1785:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       printf(interp->result,"unknown option \"%s\", must one of -drawstyle, -shademodel, -transparency, -render and -isosurf, while executing %s %s",
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c: In function 'XC_IsoplaneCmd':
xcIsoSurf.c:1838:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_isoplane <toglName> <object> -planetype colorplane|isoline -transparency on|off -render now|after";
     ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1844:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1857:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"wanted integer, but got \"%s\" while executing %s %s %s ...", argv[2], argv[0], argv[1], argv[2]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1861:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"object type \"%d\" is out of range", obj);
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1867:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "\"xc_isopoints 0 2D ...\" command must be used before evoking \"xc_isoplane\" command";
     ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1873:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "\"xc_isostack\", \"xc_isosign\", \"xc_isofiles\", \"xc_isopoints\", and \"xc_isodata\" should be called before \"xc_isosurf\" command";
     ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1904:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    interp->result = "\"xc_iso isoplane ... colorplane\" should be called before \"xc_isoplane -planetype colorplane\" command";
    ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1912:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    interp->result = "\"xc_iso isoplane ... isoline\" should be called before \"xc_isoplane -planetype isoline\" command";
    ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1919:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    interp->result = "\"xc_iso isoplane ... isoline\" and \"xc_iso isoplane ... colorplane\"should be called before \"xc_isoplane -planetype isoline\" command";
    ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1926:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"invalid argument %s for -planetype option, must be one of \"colorplane\", \"isoline\" or \"both\", while executing xc_isoplane %s ...",
  ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1941:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"invalid argument %s for -transparency option, must be one of \"on\" or \"off\", while executing xc_isoplane %s ...",
  ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1952:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  printf(interp->result,"unknown value \"%s\" for -render option, must be either \"now\" or \"after\", while executing %s %s",
  ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:1958:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"unknown option %s, must be one of \"-planetype\", \"-transparency\" or \"-render\", while executing xc_isoplane %s ...",argv[i],argv[1]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c: In function 'XC_IsoexpandCmd':
xcIsoSurf.c:2008:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_isoexpand <toglName> <object> -repeattype default|convcell|primcell -shape default|parapipedal| hexagonal -expand whole|{nx ny nz}";
     ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:2014:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:2020:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"wanted integer, but got \"%s\" while executing %s %s %s ...", argv[2], argv[0], argv[1], argv[2]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:2024:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"object type \"%d\" is out of range", obj);
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:2059:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "\"xc_isostack\", \"xc_isosign\", \"xc_isofiles\", \"xc_isopoints\", \"xc_isodata\" and \"xc_iso colorplane\" or \"xc_iso polygonise\" should be called before \"xc_isoexpand\" command";
     ^~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:2082:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown value \"%s\" for -repeattype option, must be one of \"default\", \"convcell\", \"primcell\", while executing %s %s ...", argv[i+1], argv[0], argv[1]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:2094:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown value \"%s\" for -shape option, must be one of \"default\", \"parapipedal\", \"hexagonal\", while executing %s %s ...", argv[i+1], argv[0], argv[1]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:2141:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown -render value \"%s\", should be now or after", argv[i+1]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSurf.c:2146:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"unknown option \"%s\", must be one of \"-repeat\",\"-shape\", \"-expand\", \"-render\", while executing %s %s ...",
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c voronoi.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcBz.c
xcBz.c: In function 'XC_BzCmd':
xcBz.c:93:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"not enough arguments, must be one of xc_bz (exists|init|viewport|render|rotate|degrotate|zoom|get|select|deselect|state|iss); while executing %s %s %s ...", argv[0], argv[1], argv[2]);
     ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcBz.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcBz.c:123:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"error when initializing rendering of Brillouin Zone; while executing %s %s %s ...",
  ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcBz.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcBz.c:133:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"unknown Brillouin Zone type \"%s\", must be \"prim\" or \"conv\"; while executing %s %s %s ...",
       ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcBz.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcBz.c:170:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wrong name of bz_canvas \"%s\", must be one of \"%s\", \"%s\"; while executing %s %s %s",
       ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcBz.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcBz.c:192:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "expected double, but got \"%s\"; while executing %s %s %s %s %s %s",
  ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcBz.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcBz.c:197:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "expected double, but got \"%s\"; while executing %s %s %s %s %s %s",
  ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcBz.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcBz.c:202:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "expected double, but got \"%s\"; while executing %s %s %s %s %s %s",
  ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcBz.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcBz.c:220:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "expected double, but got \"%s\"; while executing %s %s %s %s %s %s",
  ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcBz.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcBz.c:225:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "expected double, but got \"%s\"; while executing %s %s %s %s %s %s",
  ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcBz.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcBz.c:230:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "expected double, but got \"%s\"; while executing %s %s %s %s %s %s",
  ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcBz.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcBz.c:247:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "expected double, but got \"%s\"; while executing %s %s %s %s",
  ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcBz.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcBz.c:286:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "unknown option \"%s\", must be one of n_edgepoint, n_linepoint, n_polypoint, npoly, npoint, nselected, last_selected; while executing %s %s %s %s",
  ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcBz.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcBz.c:299:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "expected int, but got \"%s\"; while executing %s %s %s %s", argv[3], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcBz.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcBz.c:303:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "selected point #\"%s\" is out of range, must be within [0,%d); while executing %s %s %s %s",
  ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcBz.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcBz.c:413:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "expected int, but got \"%s\"; while executing %s %s %s %s %s", argv[3], argv[0], argv[1], argv[2], argv[3], argv[4]);
  ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcBz.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcBz.c:425:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", must be one of points, vectors; while executing %s %s %s %s %s",
  ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcBz.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcBz.c:442:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"unknown command \"xc_bz %s\", must be one of xc_bz (init|viewport|render|rotate|degrotate|select|deselect|deselectall|state|get|iss); while executing %s %s %s ...", argv[1],
       ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcBz.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcBz.c: In function 'BzRenderBZ':
xcBz.c:872:48: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
    (*info.proc)(info.clientData, interp, argc, argv);
                                                ^~~~
xcBz.c:872:48: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:873:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    printf("LINE:: polyID:: %s p%d\n",interp->result,ip);
    ^~~~~~
In file included from /usr/include/tk.h:19,
                 from xcBz.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcBz.c:895:50: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
      (*info.proc)(info.clientData, interp, argc, argv);
                                                  ^~~~
xcBz.c:895:50: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:930:50: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
      (*info.proc)(info.clientData, interp, argc, argv);
                                                  ^~~~
xcBz.c:930:50: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:972:48: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
    (*info.proc)(info.clientData, interp, argc, argv);
                                                ^~~~
xcBz.c:972:48: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:986:48: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
    (*info.proc)(info.clientData, interp, argc, argv);
                                                ^~~~
xcBz.c:986:48: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:991:48: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
    (*info.proc)(info.clientData, interp, argc, argv);
                                                ^~~~
xcBz.c:991:48: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:1002:50: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
      (*info.proc)(info.clientData, interp, argc, argv);
                                                  ^~~~
xcBz.c:1002:50: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:1007:50: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
      (*info.proc)(info.clientData, interp, argc, argv);
                                                  ^~~~
xcBz.c:1007:50: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:1034:50: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
      (*info.proc)(info.clientData, interp, argc, argv);
                                                  ^~~~
xcBz.c:1034:50: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:1040:50: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
      (*info.proc)(info.clientData, interp, argc, argv);
                                                  ^~~~
xcBz.c:1040:50: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:1084:52: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
        (*info.proc)(info.clientData, interp, argc, argv);
                                                    ^~~~
xcBz.c:1084:52: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:1103:52: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
        (*info.proc)(info.clientData, interp, argc, argv);
                                                    ^~~~
xcBz.c:1103:52: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:1118:52: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
        (*info.proc)(info.clientData, interp, argc, argv);
                                                    ^~~~
xcBz.c:1118:52: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:1133:52: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
        (*info.proc)(info.clientData, interp, argc, argv);
                                                    ^~~~
xcBz.c:1133:52: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:1142:52: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
        (*info.proc)(info.clientData, interp, argc, argv);
                                                    ^~~~
xcBz.c:1142:52: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:1149:52: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
        (*info.proc)(info.clientData, interp, argc, argv);
                                                    ^~~~
xcBz.c:1149:52: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:1158:52: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
        (*info.proc)(info.clientData, interp, argc, argv);
                                                    ^~~~
xcBz.c:1158:52: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:1171:52: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
        (*info.proc)(info.clientData, interp, argc, argv);
                                                    ^~~~
xcBz.c:1171:52: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:1178:52: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
        (*info.proc)(info.clientData, interp, argc, argv);
                                                    ^~~~
xcBz.c:1178:52: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:1188:52: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
        (*info.proc)(info.clientData, interp, argc, argv);
                                                    ^~~~
xcBz.c:1188:52: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:1206:52: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
        (*info.proc)(info.clientData, interp, argc, argv);
                                                    ^~~~
xcBz.c:1206:52: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:1244:51: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
       (*info.proc)(info.clientData, interp, argc, argv);
                                                   ^~~~
xcBz.c:1244:51: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:1256:51: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
       (*info.proc)(info.clientData, interp, argc, argv);
                                                   ^~~~
xcBz.c:1256:51: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:1261:51: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
       (*info.proc)(info.clientData, interp, argc, argv);
                                                   ^~~~
xcBz.c:1261:51: note: expected 'const char **' but argument is of type 'char **'
xcBz.c: In function 'BzCreateSelLine':
xcBz.c:1339:47: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
   (*info.proc)(info.clientData, interp, argc, argv);
                                               ^~~~
xcBz.c:1339:47: note: expected 'const char **' but argument is of type 'char **'
xcBz.c: In function 'BzUpdateSelLine':
xcBz.c:1355:47: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
   (*info.proc)(info.clientData, interp, argc, argv);
                                               ^~~~
xcBz.c:1355:47: note: expected 'const char **' but argument is of type 'char **'
xcBz.c:1362:47: warning: passing argument 4 of 'info.proc' from incompatible pointer type [-Wincompatible-pointer-types]
   (*info.proc)(info.clientData, interp, argc, argv);
                                               ^~~~
xcBz.c:1362:47: note: expected 'const char **' but argument is of type 'char **'
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcSuperCell.c
xcSuperCell.c: In function 'XC_SuperCellCmd':
xcSuperCell.c:69:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_supercell <toglName> (init|update|clear)";
     ^~~~~~
In file included from togl.h:48,
                 from xcSuperCell.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSuperCell.c:75:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "couldn't find %s togl widget", argv[1]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcSuperCell.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSuperCell.c:81:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "\"xc_supercell\" available just for periodic systems";
     ^~~~~~
In file included from togl.h:48,
                 from xcSuperCell.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSuperCell.c:95:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "\"xc_supercell init\" should be called before \"xc_supercell testit\"";
       ^~~~~~
In file included from togl.h:48,
                 from xcSuperCell.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcSuperCell.c:108:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"unknown option \"%s\", must be one of init, testit or clear", argv[1]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcSuperCell.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcPrimitives.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c setOpenGLState.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c memory.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c isoMalloc.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c isoInterpolate.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c readPlvertex.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c splineInt.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c paraSize.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c isoline.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcIsoSpaceSel.c
xcIsoSpaceSel.c: In function 'XC_IsoSpaceSelCmd':
xcIsoSpaceSel.c:116:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage:   xc_isospacesel <toglName> init\n or\n paralle2D -points {x1 y1 z1  x2 y2 z2  x3 y3 z3} -margins {ab cd ad bc} -rectangular 0|1\n or\n center2D  -center {x y z} -normal {x y z} -size size -rotate rot\n or\n clear";
     ^~~~~~
In file included from togl.h:48,
                 from xcIsoSpaceSel.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSpaceSel.c:122:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSpaceSel.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSpaceSel.c:139:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result, "parse error; when parsing -points {%s}; should be -points {x1 y1 z1   x2 y2 z2   x3 y3 z3   x4 y4 z4}", argv[i+1]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSpaceSel.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSpaceSel.c:148:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result, "parse error; when parsing -margins {%s}; should be -margins {ab cd ad bc}", argv[i+1]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSpaceSel.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSpaceSel.c:157:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result, "wanted integer, but got %s", argv[i+1]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSpaceSel.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSpaceSel.c:162:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "unknown options %s for xc_isospacesel <mesaWin> paralle2D, should be one of -points, -margins or -rectangular", argv[i]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSpaceSel.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSpaceSel.c:175:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result, "parse error; when parsing -center {%s}; should be -center {x y z}", argv[i+1]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSpaceSel.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSpaceSel.c:184:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result, "parse error; when parsing -normal {%s}; should be -normal {x y z}", argv[i+1]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSpaceSel.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSpaceSel.c:190:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result, "wanted double, but got %s", argv[i+1]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSpaceSel.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSpaceSel.c:197:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result, "wanted double, but got %s", argv[i+1]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSpaceSel.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSpaceSel.c:203:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "unknown option %s for xc_isospacesel <mesaWin> center2D, should be one of -center, -normal, -size or -rotate", argv[i]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSpaceSel.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSpaceSel.c:218:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSpaceSel.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSpaceSel.c:225:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result, "parse error; when parsing -margins {%s}; should be -margins {a b c a* b* c*}", argv[i+1]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSpaceSel.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSpaceSel.c:236:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "Usage: xc_isospacesel <toglName> fractcoor -vtype prim|conv");
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSpaceSel.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSpaceSel.c:246:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "unknown vector type %s, must be prim or conv", argv[4]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSpaceSel.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSpaceSel.c:264:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "unknown type \"%s\" of xc_isospacesel <mesaWin> command, should be one of init, paralle2D, center2D or clear", argv[2]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcIsoSpaceSel.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSpaceSel.c:274:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result =
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSpaceSel.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoSpaceSel.c:287:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result =
       ^~~~~~
In file included from togl.h:48,
                 from xcIsoSpaceSel.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c cells.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcWigner.c
xcWigner.c: In function 'XC_WignerCmd':
xcWigner.c:66:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_wigner  <toglName> prim|conv -nodesfile <file> -transparency 0|1 -color {r g b} -render now|after\nor\nxc_wigner <toglName> clear";
     ^~~~~~
In file included from togl.h:48,
                 from xcWigner.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcWigner.c:72:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcWigner.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcWigner.c:92:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "unknown option \"%s\", must be one of prim, conv, clear", argv[2]);
     ^~~~~~~
In file included from togl.h:48,
                 from xcWigner.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcWigner.c:98:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "can not render Wigner-Seitz cell, since primitive cell vectors were not specified";
       ^~~~~~
In file included from togl.h:48,
                 from xcWigner.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcWigner.c:104:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"can't open file \"%s\"",argv[i+1]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcWigner.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcWigner.c:109:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result, "error reading %s file !!!", argv[i+1]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcWigner.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcWigner.c:118:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result, "wanted integer, but got %s", argv[i+1]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcWigner.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcWigner.c:122:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result, "invalid value %d for -transparency value, should be 0 or 1", trans);
    ^~~~~~~
In file included from togl.h:48,
                 from xcWigner.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcWigner.c:129:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result, "parse error; when parsing -color {%s}, should be -color {r g b}", argv[i+1]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcWigner.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcWigner.c:143:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result, "unknown value \"%s\" for -render option, must be now or after", argv[i+1]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcWigner.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcWigner.c:148:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "unknown option \"%s\", must be one of -nodesfile, -transparency, -color or -render", argv[i]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcWigner.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcTogl.c
xcTogl.c: In function 'XC_B1MotionCb':
xcTogl.c:180:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     printf(interp->result,"wanted integer for <x>, but got \"%s\" in \"<toglname> xc_B1motion <x> <y>\" command", argv[2]);
     ^~~~~~
In file included from togl.h:48,
                 from xcTogl.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcTogl.c:185:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     printf(interp->result,"wanted integer for <y>, but got \"%s\" in \"<toglname> xc_B1motion <x> <y>\" command", argv[3]);
     ^~~~~~
In file included from togl.h:48,
                 from xcTogl.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcTogl.c: In function 'XC_B2MotionCb':
xcTogl.c:334:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     printf(interp->result,"wanted integer for <x>, but got \"%s\" in \"<toglname> xc_B2motion <x> <y>\" command", argv[2]);
     ^~~~~~
In file included from togl.h:48,
                 from xcTogl.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcTogl.c:339:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     printf(interp->result,"wanted integer for <y>, but got \"%s\" in \"<toglname> xc_B2motion <x> <y>\" command", argv[3]);
     ^~~~~~
In file included from togl.h:48,
                 from xcTogl.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcTogl.c: In function 'XC_ButtonReleaseCb':
xcTogl.c:435:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "wrong mode %s, must be B1, B2, or Shift-B1", argv[2]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcTogl.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c datagrid.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c sInfo.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcIsoDataGrid.c
xcIsoDataGrid.c: In function 'XC_IsoDataGridCmd':
xcIsoDataGrid.c:54:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_isodatagrid <index> <subindex1 factor1> [subindex2 factor2 ...]\nor\nxc_isodatagrid info";
     ^~~~~~
In file included from /usr/include/tk.h:19,
                 from xcIsoDataGrid.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoDataGrid.c:96:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"wanted integer, but got \"%s\" in xc_isodatagrid command", argv[1]);
     ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcIsoDataGrid.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoDataGrid.c:102:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "grid # %d not found", index);
     ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcIsoDataGrid.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoDataGrid.c:114:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\" in xc_isodatagrid command", argv[i]);
       ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcIsoDataGrid.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoDataGrid.c:118:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted double, but got \"%s\" in xc_isodatagrid command", argv[i+1]);
       ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcIsoDataGrid.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoDataGrid.c:130:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "an error occured during initialization of xc_isodatagrid process";
     ^~~~~~
In file included from /usr/include/tk.h:19,
                 from xcIsoDataGrid.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcIsoDataGrid.c:293:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"can't open file \"%s\" while trying to write bin_vertex_fp", filename);
     ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcIsoDataGrid.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcColorScheme.c
xcColorScheme.c: In function 'XC_ColorschemeCmd':
xcColorScheme.c:103:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcColorScheme.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcColorScheme.c:110:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcColorScheme.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcColorScheme.c:136:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "unknown flag %s for -slab option, must be one of +x, -x, +y, -y, +z, -z", argv[i+1]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcColorScheme.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcColorScheme.c:148:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "wanted double, but got %s", argv[i]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcColorScheme.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcColorScheme.c:168:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "unknown flag %s for -colorscheme option, must be one of monocrome, rgb, rainbow, geographic", argv[i+1]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcColorScheme.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcColorScheme.c:178:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "unknown flag %s for -colortype option, must be one of override, combined", argv[i+1]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcColorScheme.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcColorScheme.c:186:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "wanted double, but got %s", argv[i+1]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcColorScheme.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcColorScheme.c:192:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "unknown option %s for xc_colorscheme command, must be one of -nn, -slab, -default, -colorscheme, -colortype -alpha", argv[i]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcColorScheme.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcReadXSF.c
xcReadXSF.c: In function 'XC_ReadXSFCmd':
xcReadXSF.c:57:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_readXSF <XSF-file>";
     ^~~~~~
In file included from /usr/include/tk.h:19,
                 from xcReadXSF.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcReadXSF.c:64:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "Can't open file \"%s\"",argv[2]);
     ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcReadXSF.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcReadXSF.c:72:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"Error reading file \"%s\"",argv[2]);
     ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcReadXSF.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcReadXSF.c: In function 'XC_ReadBandXSFCmd':
xcReadXSF.c:102:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_readbandXSF <(band)XSF-file>";
     ^~~~~~
In file included from /usr/include/tk.h:19,
                 from xcReadXSF.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcReadXSF.c:109:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "Can't open file \"%s\"",argv[2]);
     ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcReadXSF.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcReadXSF.c:181:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "expect to read BEGIN_BLOCK_BANDGRID_3D, but got %s, while executing %s %s\n", line, argv[0], argv[1]);
       ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcReadXSF.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcReadXSF.c: In function 'XC_GridValueCmd':
xcReadXSF.c:260:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result =
     ^~~~~~
In file included from /usr/include/tk.h:19,
                 from xcReadXSF.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcReadXSF.c:265:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "wrong value-type \"%s\", must be min or max",
     ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcReadXSF.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcReadXSF.c:270:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"expected integer, but got %s", argv[2]);
     ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcReadXSF.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcReadXSF.c:274:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"expected integer, but got %s", argv[3]);
     ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcReadXSF.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcF3toI4.c
xcF3toI4.c: In function 'XC_F3toI4Cmd':
xcF3toI4.c:45:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_f3toi4 f1 f2 f3";
     ^~~~~~
In file included from /usr/include/tk.h:19,
                 from xcF3toI4.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcF3toI4.c:51:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "wanted double, but got %s", argv[i+1]);
       ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcF3toI4.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcFractCoor.c
xcFractCoor.c: In function 'XC_FractCoorCmd':
xcFractCoor.c:48:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_fractcoor -ctype prim|coor -coor {x y z}";
     ^~~~~~
In file included from /usr/include/tk.h:19,
                 from xcFractCoor.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcFractCoor.c:59:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "unknown cell type %s, must be prim or conv",
  ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcFractCoor.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcFractCoor.c:66:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "parse error; when parsing -coor {%s}; should be -coor {x y z}", argv[i+1]);
  ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcFractCoor.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcFractCoor.c:71:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"unknown option %s, must be -ctype or -coor",
       ^~~~~~~
In file included from /usr/include/tk.h:19,
                 from xcFractCoor.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c signal.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c MarchCubes.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c isosurf.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcMolSurf.c
xcMolSurf.c: In function 'XC_MolSurfConfigCmd':
xcMolSurf.c:217:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:226:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\", while executing %s %s %s %s ...", argv[3], argv[0], argv[1], argv[2], argv[3]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:231:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"couldn't find MolSurface %d !!!\n",
       ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:236:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "xc_molsurf must be called before xc_molsurfconfig!!!";
       ^~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:240:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_molsurfconfig <tolg> -ident indent options ...";
     ^~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:258:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted double, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:270:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", while executing \"xc_molsurf %s -colorscheme option\" command; option should be atomic or monocolor\n",
  ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:284:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", while executing \"xc_molsurf %s -drawstyle option\" command; option should be solid, wire or dot\n",
  ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:293:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted integer, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:305:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", while executing \"xc_molsurf %s -shademodel option\" command; option should be smooth or flat\n",
  ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:315:51: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types]
       Tcl_SplitList(interp, argv[i+1], &argcList, &argvList);
                                                   ^~~~~~~~~
In file included from /usr/include/tcl.h:2445,
                 from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tclDecls.h:723:21: note: expected 'const char ***' but argument is of type 'char ***'
     CONST84 char ***argvPtr);
                     ^
xcMolSurf.c:318:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"wanted double, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:333:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted integer, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:342:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted double, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:348:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "Usage: xc_molsurf <tolg> -ident indent ...";
       ^~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c: In function 'XC_MolSurfCmd':
xcMolSurf.c:403:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:412:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\", while executing %s %s %s %s ...", argv[3], argv[0], argv[1], argv[2], argv[3]);
       ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:419:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"couldn't find MolSurface %d !!!\n",
       ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:424:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_molsurf <tolg> -ident indent ...";
     ^~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:440:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", while executing \"xc_molsurf %s -type option\" command; option should be gauss, exp, unigauss, uniexp or distfunc\n", argv[i+1], argv[1]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:449:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", while executing \"xc_molsurf %s -radius option\" command; option should be cov or VdW\n", argv[i+1], argv[1]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:457:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted double, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:466:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted double, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:478:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", while executing \"xc_molsurf %s -colorscheme option\" command; option should be atomic or monocolor\n", argv[i+1], argv[1]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:491:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", while executing \"xc_molsurf %s -drawstyle option\" command; option should be solid, wire or dot\n", argv[i+1], argv[1]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:499:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted integer, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:511:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", while executing \"xc_molsurf %s -shademodel option\" command; option should be smooth or flat\n",
  ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:521:51: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types]
       Tcl_SplitList(interp, argv[i+1], &argcList, &argvList);
                                                   ^~~~~~~~~
In file included from /usr/include/tcl.h:2445,
                 from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tclDecls.h:723:21: note: expected 'const char ***' but argument is of type 'char ***'
     CONST84 char ***argvPtr);
                     ^
xcMolSurf.c:524:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"wanted double, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
    ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:538:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", while executing \"xc_molsurf %s -surftype option\" command; option should be molsurf or gap\n",
  ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:547:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted double, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:556:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted integer, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:565:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted double, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcMolSurf.c:571:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "Usage: xc_molsurf <tolg> -ident indent options ...";
       ^~~~~~
In file included from togl.h:48,
                 from xcMolSurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c cryNewContext.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c fs.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c cryDispFunc.c
cryDispFunc.c: In function 'CRY_DispFuncCmd':
cryDispFunc.c:65:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: cry_dispfunc <togl> fermisurf ?-antialias 0|1?";
     ^~~~~~
In file included from togl.h:48,
                 from cryDispFunc.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
cryDispFunc.c:70:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from cryDispFunc.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
cryDispFunc.c:99:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted integer, but got \"%s\"", argv[4]);
  ^~~~~~~
In file included from togl.h:48,
                 from cryDispFunc.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
cryDispFunc.c:104:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,
       ^~~~~~~
In file included from togl.h:48,
                 from cryDispFunc.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c cryDispFuncMultiFS.c
cryDispFuncMultiFS.c:37: warning: "MAX" redefined
 #define MAX(x,y) ( (x)>(y) ? (x) : (y) )
 
In file included from cryDispFuncMultiFS.c:26:
struct.h:47: note: this is the location of the previous definition
 #define MAX(a,b) ( (a)>(b)?(a):(b) )
 
cryDispFuncMultiFS.c: In function 'CRY_DispFuncMultiFSCmd':
cryDispFuncMultiFS.c:60:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: cry_dispfuncmultiFS <togl> ?-togllist? ?-antialias 0|1?";
     ^~~~~~
In file included from togl.h:48,
                 from cryDispFuncMultiFS.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
cryDispFuncMultiFS.c:65:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from cryDispFuncMultiFS.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
cryDispFuncMultiFS.c:114:48: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types]
    Tcl_SplitList(interp, argv[i+1], &argcList, &argvList);
                                                ^~~~~~~~~
In file included from /usr/include/tcl.h:2445,
                 from togl.h:48,
                 from cryDispFuncMultiFS.c:20:
/usr/include/tclDecls.h:723:21: note: expected 'const char ***' but argument is of type 'char ***'
     CONST84 char ***argvPtr);
                     ^
cryDispFuncMultiFS.c:120:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
   sprintf(interp->result,
   ^~~~~~~
In file included from togl.h:48,
                 from cryDispFuncMultiFS.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
cryDispFuncMultiFS.c:149:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
      sprintf(interp->result,"wanted integer, but got \"%s\"", argv[i+1]);
      ^~~~~~~
In file included from togl.h:48,
                 from cryDispFuncMultiFS.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
cryDispFuncMultiFS.c:154:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,
    ^~~~~~~
In file included from togl.h:48,
                 from cryDispFuncMultiFS.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
cryDispFuncMultiFS.c: In function '_cryDisplayMultiFS':
cryDispFuncMultiFS.c:282:38: warning: implicit declaration of function 'cryRenderSurface'; did you mean 'cryReadSurfARGS'? [-Wimplicit-function-declaration]
       if ( ith_wc->VPf.nsurface )    cryRenderSurface( ith_wc , FS_MULTI );
                                      ^~~~~~~~~~~~~~~~
                                      cryReadSurfARGS
cryDispFuncMultiFS.c:283:38: warning: implicit declaration of function 'cryRenderRecCell' [-Wimplicit-function-declaration]
       if ( ith_wc->VPf.dispLattice ) cryRenderRecCell( ith_wc , FS_MULTI );
                                      ^~~~~~~~~~~~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c crySetProj.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c crySurfArgs.c
crySurfArgs.c: In function 'cryReadSurfARGS':
crySurfArgs.c:84:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", while executing \"%s %s -type option\" command; option should be gauss, exp, unigauss, uniexp, distfuncor fermisurface\n", argv[i+1], argv[0], argv[1]);
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:94:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted integer, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:99:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "couldn't find surface #%d on window %s !!!\n",
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:112:51: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types]
       Tcl_SplitList(interp, argv[i+1], &argcList, &argvList);
                                                   ^~~~~~~~~
In file included from /usr/include/tcl.h:2445,
                 from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tclDecls.h:723:21: note: expected 'const char ***' but argument is of type 'char ***'
     CONST84 char ***argvPtr);
                     ^
crySurfArgs.c:123:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", while executing \"%s %s -radius option\" command; option should be cov or VdW\n",
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:134:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted double, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:145:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted double, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:159:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", while executing \"cry_molsurf %s -colorscheme option\" command; option should be atomic or monocolor\n", argv[i+1], argv[1]);
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:174:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", while executing \"%s %s -drawstyle option\" command; option should be solid, wire or dot\n",
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:185:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted integer, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:199:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", while executing \"%s %s -shademodel option\" command; option should be smooth or flat\n",
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:211:51: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types]
       Tcl_SplitList(interp, argv[i+1], &argcList, &argvList);
                                                   ^~~~~~~~~
In file included from /usr/include/tcl.h:2445,
                 from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tclDecls.h:723:21: note: expected 'const char ***' but argument is of type 'char ***'
     CONST84 char ***argvPtr);
                     ^
crySurfArgs.c:214:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"wanted double, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
    ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:233:51: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types]
       Tcl_SplitList(interp, argv[i+1], &argcList, &argvList);
                                                   ^~~~~~~~~
In file included from /usr/include/tcl.h:2445,
                 from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tclDecls.h:723:21: note: expected 'const char ***' but argument is of type 'char ***'
     CONST84 char ***argvPtr);
                     ^
crySurfArgs.c:236:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"wanted double, but got \"%s\"", argv[i+1]);
    ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:251:51: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types]
       Tcl_SplitList(interp, argv[i+1], &argcList, &argvList);
                                                   ^~~~~~~~~
In file included from /usr/include/tcl.h:2445,
                 from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tclDecls.h:723:21: note: expected 'const char ***' but argument is of type 'char ***'
     CONST84 char ***argvPtr);
                     ^
crySurfArgs.c:254:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result,"wanted double, but got \"%s\"", argv[i+1]);
    ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:271:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown option \"%s\", while executing \"%s %s -surftype option\" command; option should be molsurf or gap\n",
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:283:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted double, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:295:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted integer, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:307:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted double, but got \"%s\", while executing %s %s %s %s ...", argv[i+1], argv[0], argv[1], argv[2], argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:326:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted int, but got \"%s\"", argv[i+1]);
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:333:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,
       ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c: In function 'ReadFS_ARGS':
crySurfArgs.c:364:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted integer for -gridindex but got %s, while parsing -fs option !!!\n", argv[i+1]);
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:371:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted integer for -gridsubindex but got %s, while parsing -fs option !!!\n", argv[i+1]);
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:378:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted integer for -bandindex but got %s, while parsing -fs option !!!\n", argv[i+1]);
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:389:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"invalid cell type %s, must be para or bz !!!\n", argv[i+1]);
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:397:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted 0 or 1 for -cropbz but got %s, while parsing -fs option !!!\n", argv[i+1]);
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:405:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted 0 or 1 for -displaycell but got %s, while parsing -fs option !!!\n", argv[i+1]);
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:422:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"unknown celldisplaytype %s, must be one of wire, rod, solid, solidwire or solidrod !!!\n", argv[i+1]);
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:432:51: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types]
       Tcl_SplitList(interp, argv[i+1], &argcList, &argvList);
                                                   ^~~~~~~~~
In file included from /usr/include/tcl.h:2445,
                 from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tclDecls.h:723:21: note: expected 'const char ***' but argument is of type 'char ***'
     CONST84 char ***argvPtr);
                     ^
crySurfArgs.c:434:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,
  ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:440:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
    sprintf(interp->result, "wanted integer but got %s", argvList[ia]);
    ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:467:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "unknown option %s, must be one of -gridindex, -bandindex, -celltype, -cropbz, -displaycell, -celldisplaytype, -wirecellcolor or -solidcellcolor", argv[i]);
       ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:476:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "-gridindex, -gridsubindex and -bandindex options must be specified within -fs { options } !!!\n";
     ^~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:481:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "can't find grid %d !!!\n", gridindex);
     ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:488:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "to large gridsubindex %d, must be lower than %d !!!\n",
     ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurfArgs.c:495:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "to large bandindex %d, must be lower than %d !!!\n",
     ^~~~~~~
In file included from togl.h:48,
                 from crySurfArgs.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c crySurf.c
crySurf.c: In function 'CRY_SurfRegCmd':
crySurf.c:185:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from crySurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurf.c: In function 'CRY_SurfConfigCmd':
crySurf.c:252:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from crySurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurf.c:262:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\", while executing %s %s %s %s ...", argv[2], argv[0], argv[1], argv[2], argv[3]);
       ^~~~~~~
In file included from togl.h:48,
                 from crySurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurf.c:267:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"couldn't find MolSurface %d !!!\n",
       ^~~~~~~
In file included from togl.h:48,
                 from crySurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurf.c:272:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "cry_surf must be called before cry_surfconfig!!!";
       ^~~~~~
In file included from togl.h:48,
                 from crySurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurf.c:276:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: cry_surfconfig <tolg> -ident indent options ...";
     ^~~~~~
In file included from togl.h:48,
                 from crySurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurf.c:309:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "can't change gridindex, gridsubindex, bandindex and celltype by cry_surfconfig command";
     ^~~~~~
In file included from togl.h:48,
                 from crySurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurf.c: In function 'CRY_SurfCmd':
crySurf.c:433:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from crySurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurf.c:443:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\", while executing %s %s %s %s ...", argv[3], argv[0], argv[1], argv[2], argv[3]);
       ^~~~~~~
In file included from togl.h:48,
                 from crySurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurf.c:448:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"couldn't find Surface %d !!!\n",
       ^~~~~~~
In file included from togl.h:48,
                 from crySurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurf.c:453:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"Usage: %s <tolg> -ident indent ...", argv[0]);
     ^~~~~~~
In file included from togl.h:48,
                 from crySurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurf.c:475:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result="Sorry, so far just fermisurface type surfaces supported by cry_surf command";
     ^~~~~~
In file included from togl.h:48,
                 from crySurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
crySurf.c:484:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "couldn't find surface #%d on window %s !!!\n",
     ^~~~~~~
In file included from togl.h:48,
                 from crySurf.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c cryTransform.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c cryClip.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c cryTogl.c
cryTogl.c: In function 'CRY_ToglZoomCb':
cryTogl.c:39:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: toglName cry_toglzoom zoom-factor";
     ^~~~~~
In file included from togl.h:48,
                 from cryTogl.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
cryTogl.c:44:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"wanted integer, but got \"%s\"", argv[2]);
     ^~~~~~~
In file included from togl.h:48,
                 from cryTogl.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
cryTogl.c:49:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"zoom factor %f out of range", zoom);
     ^~~~~~~
In file included from togl.h:48,
                 from cryTogl.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c forces.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcForces.c
xcForces.c: In function 'Usage':
xcForces.c:57:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: xc_forces <toglName> OPTIONS\nwhere options are:\n    on|off\nor\n    scalefunction <scalefunction>\n    threshold      <threshold>\n    lengthfactor  <lengthfactor>\n";
     ^~~~~~
In file included from togl.h:48,
                 from xcForces.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcForces.c: In function 'XC_ForcesCmd':
xcForces.c:83:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcForces.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcForces.c:110:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"unknown scale function %s, must be one of ...\n",
       ^~~~~~~
In file included from togl.h:48,
                 from xcForces.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcForces.c:116:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted double, but got %s\n", argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcForces.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcForces.c:122:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result,"wanted double, but got %s\n", argv[3]);
  ^~~~~~~
In file included from togl.h:48,
                 from xcForces.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c gl2psPrintTogl.c
gl2psPrintTogl.c: In function 'CRY_gl2psPrintToglCb':
gl2psPrintTogl.c:71:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "wrong format %s, must be one ofGL2PS_PS, GL2PS_EPS, or GL2PS_TEX", argv[2]);
     ^~~~~~~
In file included from togl.h:48,
                 from gl2psPrintTogl.c:22:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gl2psPrintTogl.c:85:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "wrong sort %s, must be one of GL2PS_NO_SORT, GL2PS_SIMPLE_SORT, or GL2PS_BSP_SORT", argv[3]);
     ^~~~~~~
In file included from togl.h:48,
                 from gl2psPrintTogl.c:22:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gl2psPrintTogl.c:92:45: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types]
   Tcl_SplitList(interp, argv[4], &argcList, &argvList);
                                             ^~~~~~~~~
In file included from /usr/include/tcl.h:2445,
                 from togl.h:48,
                 from gl2psPrintTogl.c:22:
/usr/include/tclDecls.h:723:21: note: expected 'const char ***' but argument is of type 'char ***'
     CONST84 char ***argvPtr);
                     ^
gl2psPrintTogl.c:115:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "wrong options %s, must be one of GL2PS_DRAW_BACKGROUND, GL2PS_SIMPLE_LINE_OFFSET, GL2PS_SILENT, GL2PS_BEST_ROOT, GL2PS_OCCLUSION_CULL, GL2PS_NO_TEXT, GL2PS_LANDSCAPE, GL2PS_NO_PS3_SHADING, or GL2PS_NONE", argvList[i]);
       ^~~~~~~
In file included from togl.h:48,
                 from gl2psPrintTogl.c:22:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gl2psPrintTogl.c:124:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "wanted double but got %s", argv[5]);
     ^~~~~~~
In file included from togl.h:48,
                 from gl2psPrintTogl.c:22:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gl2psPrintTogl.c:134:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "wanted double but got %s", argv[6]);
     ^~~~~~~
In file included from togl.h:48,
                 from gl2psPrintTogl.c:22:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gl2psPrintTogl.c:143:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "coudn't open file %s", argv[7]);
     ^~~~~~~
In file included from togl.h:48,
                 from gl2psPrintTogl.c:22:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c ppmPrintTogl.c
ppmPrintTogl.c: In function 'CRY_Dump2PpmCb':
ppmPrintTogl.c:44:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: toglName xc_dump2ppm filename ?colorPPM? ?interpDegre? ?antialias?";
     ^~~~~~
In file included from togl.h:48,
                 from ppmPrintTogl.c:22:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
ppmPrintTogl.c:50:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\" while executing %s %s %s %s", argv[3], argv[0], argv[1], argv[2], argv[3]);
       ^~~~~~~
In file included from togl.h:48,
                 from ppmPrintTogl.c:22:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
ppmPrintTogl.c:55:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\" while executing %s %s %s %s %s", argv[4], argv[0], argv[1], argv[2], argv[3], argv[4]);
       ^~~~~~~
In file included from togl.h:48,
                 from ppmPrintTogl.c:22:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
ppmPrintTogl.c:60:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result,"wanted integer, but got \"%s\" while executing %s %s %s %s %s %s", argv[5], argv[0], argv[1], argv[2], argv[3], argv[4], argv[5]);
       ^~~~~~~
In file included from togl.h:48,
                 from ppmPrintTogl.c:22:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c lcasi.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c lcasif.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcFont.c
xcFont.c: In function 'XC_SetFontCb':
xcFont.c:118:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "wrong number of arguments, should be togl xc_setfont togl_font ?bright-fontcolor? ?dark-fontcolor?");
     ^~~~~~~
In file included from xcFont.c:38:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcFont.c:147:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "couldn't load font %s", argv[2]);
       ^~~~~~~
In file included from xcFont.c:38:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcFont.c:154:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "couldn't load font %s", argv[2]);
  ^~~~~~~
In file included from xcFont.c:38:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcFont.c: In function 'XC_SetAtomLabelCb':
xcFont.c:194:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "wrong number of arguments, must be togl  xc_setatomlabel  atomID  labelString  ?font?  ?fontColor1?  ?fontColor2?");
     ^~~~~~~
In file included from xcFont.c:38:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcFont.c:199:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "wanted integer but got %s", argv[2]);
     ^~~~~~~
In file included from xcFont.c:38:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcFont.c:203:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "atomID %d out of range, should be within [1,%d]", atomID, natoms);
     ^~~~~~~
In file included from xcFont.c:38:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcFont.c:217:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "couldn't load font %s", argv[2]);
       ^~~~~~~
In file included from xcFont.c:38:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcFont.c: In function 'XC_ClearAtomLabelCb':
xcFont.c:280:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "Usage:\n   togl xc_clearatomlabels  atomID  ?atomID? ...\n or \n   togl xc_cleanatomlabels all");
     ^~~~~~~
In file included from xcFont.c:38:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcFont.c:293:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "wanted integer but got %s", argv[i]);
  ^~~~~~~
In file included from xcFont.c:38:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcFont.c:297:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
  sprintf(interp->result, "atom index %d out of range, should be between [0,%d]",
  ^~~~~~~
In file included from xcFont.c:38:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcFont.c: In function 'XC_QueryFontCb':
xcFont.c:334:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "wrong number of arguments, should be togl xc_queryfont XLFD_fontname");
     ^~~~~~~
In file included from xcFont.c:38:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcFont.c: In function '_setFontColor':
xcFont.c:388:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "error parsing bright font color, should be {red green blue}, but got %s", bright_argv);
       ^~~~~~~
In file included from xcFont.c:38:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcFont.c:396:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       sprintf(interp->result, "error parsing dark font color, should be {red green blue}, but got %s", dark_argv);
       ^~~~~~~
In file included from xcFont.c:38:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c fog.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c writeXSF.c
writeXSF.c: In function 'XC_WriteXSFCmd':
writeXSF.c:41:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "wrong # of arguments: should be \"xc_writeXSF filename\"");
     ^~~~~~~
In file included from writeXSF.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
writeXSF.c:47:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "couldn't write file %s", argv[1]);
     ^~~~~~~
In file included from writeXSF.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
writeXSF.c: In function 'XC_WriteBandXSFCmd':
writeXSF.c:86:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "Usage: xc_writebandXSF grid-identifier fermi-energy band-index BXSF-file\n");
     ^~~~~~~
In file included from writeXSF.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
writeXSF.c:94:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"wanted integer, but got \"%s\"", argv[1]);
     ^~~~~~~
In file included from writeXSF.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
writeXSF.c:99:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"couldn't find MolSurface %d", ident);
     ^~~~~~~
In file included from writeXSF.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
writeXSF.c:103:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "couldn't find surface index");
     ^~~~~~~
In file included from writeXSF.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
writeXSF.c:111:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"wanted double, but got \"%s\"", argv[2]);
     ^~~~~~~
In file included from writeXSF.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
writeXSF.c:120:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,"wanted integer, but got \"%s\"", argv[3]);
     ^~~~~~~
In file included from writeXSF.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
writeXSF.c:129:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result, "Can't write file \"%s\"", argv[4]);
     ^~~~~~~
In file included from writeXSF.c:21:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c hbonds.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcHBonds.c
xcHBonds.c: In function 'Usage':
xcHBonds.c:36:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
   interp->result = "Usage: xc_hbonds <toglName> OPTIONS\nwhere options are:\n    on|off\nor\n    H_like_list  {H_like_list atomic numbers}\n    O_like_list  {O_like_list atomic numbers}\n    length_min  <min-length>\nor\nlength_max  <max-length>";
   ^~~~~~
In file included from togl.h:48,
                 from xcHBonds.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcHBonds.c: In function 'XC_HBondsCmd':
xcHBonds.c:72:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     sprintf(interp->result,
     ^~~~~~~
In file included from togl.h:48,
                 from xcHBonds.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcHBonds.c:156:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
      sprintf(interp->result, "error parsing H_like_list: %s\n", argv[i+1]);
      ^~~~~~~
In file included from togl.h:48,
                 from xcHBonds.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcHBonds.c:164:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
      sprintf(interp->result, "error parsing O_like_list: %s\n", argv[i+1]);
      ^~~~~~~
In file included from togl.h:48,
                 from xcHBonds.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcHBonds.c:172:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
      sprintf(interp->result,"wanted double, but got %s\n", argv[i+1]);
      ^~~~~~~
In file included from togl.h:48,
                 from xcHBonds.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcHBonds.c:181:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
      sprintf(interp->result,"wanted double, but got %s\n", argv[i+1]);
      ^~~~~~~
In file included from togl.h:48,
                 from xcHBonds.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcHBonds.c:190:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
      sprintf(interp->result,"wanted double, but got %s\n", argv[i+1]);
      ^~~~~~~
In file included from togl.h:48,
                 from xcHBonds.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcHBonds.c:199:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
      sprintf(interp->result,"wanted double, but got %s\n", argv[i+1]);
      ^~~~~~~
In file included from togl.h:48,
                 from xcHBonds.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcHBonds.c:208:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
      sprintf(interp->result,"wanted integer, but got %s\n", argv[i+1]);
      ^~~~~~~
In file included from togl.h:48,
                 from xcHBonds.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcHBonds.c:217:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
      sprintf(interp->result,"wanted integer, but got %s\n", argv[i+1]);
      ^~~~~~~
In file included from togl.h:48,
                 from xcHBonds.c:20:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
xcHBonds.c: In function '_Hbond_MakeList':
xcHBonds.c:265:46: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types]
     Tcl_SplitList(interp, argvI1, &argcList, &argvList);
                                              ^~~~~~~~~
In file included from /usr/include/tcl.h:2445,
                 from togl.h:48,
                 from xcHBonds.c:20:
/usr/include/tclDecls.h:723:21: note: expected 'const char ***' but argument is of type 'char ***'
     CONST84 char ***argvPtr);
                     ^
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c linear.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c realTimeMovie.c
realTimeMovie.c: In function 'CRY_RealTimeMovieCb':
realTimeMovie.c:49:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "Usage: toglName realtimemovie begin mode or toglName realtimemovie end";
     ^~~~~~
In file included from togl.h:48,
                 from realTimeMovie.c:22:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
realTimeMovie.c:54:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
     interp->result = "so far toglName realtimemovie callback works only for .mesa togl";
     ^~~~~~
In file included from togl.h:48,
                 from realTimeMovie.c:22:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
realTimeMovie.c:61:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "can't call \"toglName realtimemovie begin\" twice ...";
       ^~~~~~
In file included from togl.h:48,
                 from realTimeMovie.c:22:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
realTimeMovie.c:83:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
       interp->result = "can't call \"toglName realtimemovie end\" prior to \"toglName realtimemovie begin\"";
       ^~~~~~
In file included from togl.h:48,
                 from realTimeMovie.c:22:
/usr/include/tcl.h:503:11: note: declared here
     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
           ^~~~~~
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c togl.c
togl.c: In function 'Togl_Init':
togl.c:820:26: warning: assignment to 'void (*)(struct Tk_Window_ *, Tk_ClassProcs *, void *)' {aka 'void (*)(struct Tk_Window_ *, struct Tk_ClassProcs *, void *)'} from incompatible pointer type 'void (*)(struct Tk_Window_ *, const Tk_ClassProcs *, void *)' {aka 'void (*)(struct Tk_Window_ *, const struct Tk_ClassProcs *, void *)'} [-Wincompatible-pointer-types]
         SetClassProcsPtr = Tk_SetClassProcs;
                          ^
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c gl2ps.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c sgiRasterFont.c
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c sgiAux.c
gcc  -fPIC -DUSE_FONTS detnsplit.o xcAppInit.o xcballstick.o xcviewport.o xcLabels.o vectors.o xcDisplayFunc2.o xcAtomAdd.o loadValues.o hpsort.o auxilproc.o xcdebug.o 3D.o xcDisplayFunc.o readstrf.o mxmymz.o remakestr.o xcSelect.o readisodata.o lighting.o xcGLparam.o colorplane.o isorender.o polygonise.o polygonise_auxil.o xcIsoSurf.o voronoi.o xcBz.o xcSuperCell.o xcPrimitives.o setOpenGLState.o memory.o isoMalloc.o isoInterpolate.o readPlvertex.o splineInt.o paraSize.o isoline.o xcIsoSpaceSel.o cells.o xcWigner.o xcTogl.o datagrid.o sInfo.o xcIsoDataGrid.o xcColorScheme.o xcReadXSF.o xcF3toI4.o xcFractCoor.o signal.o MarchCubes.o isosurf.o xcMolSurf.o cryNewContext.o fs.o cryDispFunc.o cryDispFuncMultiFS.o crySetProj.o crySurfArgs.o crySurf.o cryTransform.o cryClip.o cryTogl.o forces.o xcForces.o gl2psPrintTogl.o ppmPrintTogl.o lcasi.o lcasif.o xcFont.o fog.o writeXSF.o hbonds.o xcHBonds.o linear.o realTimeMovie.o togl.o gl2ps.o sgiRasterFont.o sgiAux.o \
-o xcrys -ltk8.6 -ltcl8.6 -lGLU -lGL -L/usr/lib -lXmu -lX11 -lXext -lm 
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xcTclsh.c
gcc -fPIC -DUSE_FONTS xcTclsh.o -o xctclsh -ltcl8.6 -lm 
gcc -fPIC -DUSE_FONTS  -DUSE_FONTS    -I/usr/X11R6/include  -c xsf2xsf.c
gcc -fPIC -DUSE_FONTS xsf2xsf.o -o xsf2xsf -lm 
mv xcrys   ../bin
mv xctclsh ../bin
mv xsf2xsf ../bin
make[2]: Leaving directory '/usr/src/RPM/BUILD/XCrySDen-1.5.21-src/C'
make[1]: Leaving directory '/usr/src/RPM/BUILD/XCrySDen-1.5.21-src/C'

#------------------------------#
#                              #
#   Compiling XCRYSDEN F-code  #
#                              #
#------------------------------#

cd F/SRC_nn; make  "TOPDIR=/usr/src/RPM/BUILD/XCrySDen-1.5.21-src"
make[1]: Entering directory '/usr/src/RPM/BUILD/XCrySDen-1.5.21-src/F/SRC_nn'
gfortran -O2   -c -o nn.o nn.f
gfortran -O2   -c -o dirlat.o dirlat.f
gfortran -O2   -c -o ord2.o ord2.f
gfortran -O2  nn.o dirlat.o ord2.o -o nn 
if test -f nn.exe ; then mv nn.exe ../../bin ; \
elif test -f nn     ; then mv nn     ../../bin ; fi
make[1]: Leaving directory '/usr/src/RPM/BUILD/XCrySDen-1.5.21-src/F/SRC_nn'
cd F/SRC_spaghetti; make  "TOPDIR=/usr/src/RPM/BUILD/XCrySDen-1.5.21-src"
make[1]: Entering directory '/usr/src/RPM/BUILD/XCrySDen-1.5.21-src/F/SRC_spaghetti'
gfortran -O2  -c get_ei.f
gfortran -O2  -c get_k.f
make[1]: Leaving directory '/usr/src/RPM/BUILD/XCrySDen-1.5.21-src/F/SRC_spaghetti'
cd F; make  "TOPDIR=/usr/src/RPM/BUILD/XCrySDen-1.5.21-src"
make[1]: Entering directory '/usr/src/RPM/BUILD/XCrySDen-1.5.21-src/F'
cd SRC_spaghetti; make
make[2]: Entering directory '/usr/src/RPM/BUILD/XCrySDen-1.5.21-src/F/SRC_spaghetti'
make[2]: Nothing to be done for 'default'.
make[2]: Leaving directory '/usr/src/RPM/BUILD/XCrySDen-1.5.21-src/F/SRC_spaghetti'
gfortran -O2   -c -o gengeom.o gengeom.f
gengeom.f:735:27:

          CALL GETCCOOR(DVC,AC,2,X,Y,Z,XC,YC,ZC,I,NATR)
                           1
Error: Actual argument contains too few elements for dummy argument 'b33' (6/12) at (1)
gengeom.f:740:27:

          CALL GETCCOOR(DVC,BC,2,X,Y,Z,XC,YC,ZC,I,NATR)
                           1
Error: Actual argument contains too few elements for dummy argument 'b33' (6/12) at (1)
gengeom.f:745:27:

          CALL GETCCOOR(DVC,CC,2,X,Y,Z,XC,YC,ZC,I,NATR)
                           1
Error: Actual argument contains too few elements for dummy argument 'b33' (6/12) at (1)
gengeom.f:759:27:

          CALL GETCCOOR(DVC,IC,2,X,Y,Z,XC,YC,ZC,I,NATR)
                           1
Error: Actual argument contains too few elements for dummy argument 'b33' (6/12) at (1)
gengeom.f:766:30:

             CALL GETCCOOR(DVC,RC,IN,X,Y,Z,XC,YC,ZC,I,NATR)
                              1
Error: Actual argument contains too few elements for dummy argument 'b33' (9/12) at (1)
gengeom.f:773:30:

             CALL GETCCOOR(DVC,HC,IN,X,Y,Z,XC,YC,ZC,I,NATR)
                              1
Error: Actual argument contains too few elements for dummy argument 'b33' (9/12) at (1)
make[1]: *** [<builtin>: gengeom.o] Error 1
make[1]: Leaving directory '/usr/src/RPM/BUILD/XCrySDen-1.5.21-src/F'
make: *** [Makefile:89: src-F] Error 2
make: Leaving directory '/usr/src/RPM/BUILD/XCrySDen-1.5.21-src'
error: Bad exit status from /usr/src/tmp/rpm-tmp.18583 (%build)


RPM build errors:
    Bad exit status from /usr/src/tmp/rpm-tmp.18583 (%build)
Command exited with non-zero status 1
15.18user 1.43system 0:18.67elapsed 88%CPU (0avgtext+0avgdata 37092maxresident)k
0inputs+0outputs (0major+549329minor)pagefaults 0swaps
hsh-rebuild: rebuild of `xcrysden-1.5.21-alt6.src.rpm' failed.
Command exited with non-zero status 1
31.73user 4.87system 0:41.87elapsed 87%CPU (0avgtext+0avgdata 121580maxresident)k
1104inputs+0outputs (0major+948852minor)pagefaults 0swaps