From: Simon Wright <simon@pushface.org>
Subject: Re: TASH and gcc-3.2 -- no selector Obj for type Tash_List ...
Date: 21 Jan 2003 05:45:39 +0000
Date: 2003-01-21T05:45:39+00:00 [thread overview]
Message-ID: <x7vlm1foy2k.fsf@smaug.pushface.org> (raw)
In-Reply-To: slrnb2l45f.eg7.felix@calico.local
"Eric G. Miller" <felix@calico.local> writes:
> Anyone had success compiling TASH 8.3.2 with GNAT/gcc-3.2? I guess
> this must be a compiler problem and not a problem with TASH ...
I think you are right. And the same failure occurs with 3.3
20021130. I tried the code with ObjectAda .. no complaints.
This patch gets tash-arrays.adb to compile, similar patches on the
other files ..
--- tash-arrays.adb 2003/01/21 05:31:18 1.1
+++ tash-arrays.adb 2003/01/21 05:31:54
@@ -698,7 +698,7 @@
-- Create a Tcl list to hold the index and value
------------------------------------------------
Listv(1) := Tash.To_Tcl_Obj (Index);
- Listv(2) := Value.Obj;
+ Listv(2) := Tash_Object (Value).Obj;
ListObj := Tcl.Tcl_NewListObj (Objc => Listc, Objv => Listv);
Tcl.Tcl_IncrRefCount (ListObj);
Tcl.Tcl_DecrRefCount (Listv(1));
@@ -756,7 +756,7 @@
Objv(1) := Array_Cmd;
Objv(2) := Set_Option;
Objv(3) := TArray.Obj;
- Objv(4) := List.Obj;
+ Objv(4) := Tash_Object (List).Obj;
-- Set the array elements
-------------------------
There is a tash mailing list, tash@yahoogroups.com, and the web site
is http://www.adatcl.com/ .
I recently used TASH for a project, but the Ada didn't use any of the
new thick bindings .. just exported subprograms to the Tcl
environment, so no need to build the full TASH sources.
-S
prev parent reply other threads:[~2003-01-21 5:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-19 11:48 TASH and gcc-3.2 -- no selector Obj for type Tash_List Eric G. Miller
2003-01-19 16:04 ` Pascal Obry
2003-01-20 0:19 ` Eric G. Miller
2003-01-20 6:03 ` Eric G. Miller
2003-01-21 5:45 ` Simon Wright [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox