[GRASS5] Tcl8.4 support?

Glynn Clements glynn.clements at virgin.net
Thu Aug 28 01:47:17 EDT 2003


Wolfgang Lueck wrote:

> What is the plan of action with respect to tcl8.4 support. All new
> distributions seem to run this version. Does this mean that Grass users
> are expected to run older distros?

Tcl 8.4. is supposed to work. I thought that we had a fix for this a
while back, but it just got overlooked when 5.0.2 was put together.

Certainly, this appears to have made it into the 5.0.3 release
candidates:

--- /usr/src/grass5-5.0.2/src.contrib/GMSL/NVIZ2.2/src/interface.h	Sun Feb  6 15:00:41 2000
+++ /usr/src/grass5-rel/src.contrib/GMSL/NVIZ2.2/src/interface.h	Thu Jul  3 21:37:00 2003
@@ -254,7 +254,11 @@
 /* tkBind.c */
 int TkCopyAndGlobalEval(Tcl_Interp *, char *);
 /* tkSend.c */
-char *Tk_SetAppName(Tk_Window, char *);
+#if TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4
+    CONST char *Tk_SetAppName(Tk_Window, CONST char *);
+#else
+    char *Tk_SetAppName(Tk_Window, char *);
+#endif
 int Tk_SendCmd(ClientData, Tcl_Interp *, int, char **);
 int TkGetInterpNames(Tcl_Interp *, Tk_Window);
 /* tkSend_old.c */

Or is there another problem with 8.4?

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list