Re: compile error in scotty-2.1.5

Juergen Schoenwaelder (schoenw@gaertner.de)
Sat, 12 Jul 1997 19:10:41 +0200

Morgan Sarges <blip@morgan.iw.net> said:

Morgan> After some more investigating last night, I found an element
Morgan> in a struct, called "Tcl_File".

Morgan> Further checking shows that if someone builds scotty with tcl
Morgan> release 8.0a1, the build is fine, since Tcl_File is defined
Morgan> inside tcl.h (drops into /usr/inclu de after install).

Morgan> With tcl release 8.0b2, this is not true. There is _no_
Morgan> typedef for Tcl_File in tcl.h.

Morgan> At first glance, it has either been eliminated completely, or
Morgan> replaced with the typdef called Tcl_Var.

The Tcl_File is gone in Tcl8.0 and this means that there is no
platform independent API anymore to put a socket into the Tcl event
loop. There are ways to work around this (see my postings and the
responses from the Sun guys in comp.lang.tcl on this subject). This
means that porting to the final 8.0 version will require non trivial
changes, at least if you want to support Windows NT platforms and UNIX
systems in a nice way.
Juergen

-- 
Juergen Schoenwaelder     <schoenw@gaertner.de>     (Tel: +49-531-23873-0)
Gaertner Datensysteme, Hamburger Strasse 273a, 38114 Braunschweig, Germany
--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.