On Sat, 2008-03-29 at 08:14 +1100, Tim Josling wrote: > On Sat, 2008-03-29 at 07:53 +1100, Tim Josling wrote: > > HI this seems to be an error because no FASL is generated. > > > > I have no problems with this file with SBCL and I am mystified as to > > what the problem is. > > > > gcl 2.6.7 on AMD64 Ubuntu Linux. Switching to the CVS version of gcl is > > not feasible for various reasons. > > > > Thanks, > > Tim Josling > > Further investigation shows the problem is due to the fact that I have > defined a symbol as a constant, then used that symbol as the name of a > field in a struct. The log below shows gcl rejects this. You can use a > symbol that is non-constant as a field name but not a symbol that is a > constant. As far as I can tell this should be legal. > > Tim Josling > > gcl > GCL (GNU Common Lisp) 2.6.7 CLtL1 Nov 10 2006 14:25:02 > Source License: LGPL(gcl,gmp), GPL(unexec,bfd,xgcl) > Binary License: GPL due to GPL'ed components: (XGCL READLINE BFD > UNEXEC) > Modifications of this banner must retain notice of a compatible license > Dedicated to the memory of W. Schelter > > Use (help) to get some basic information on how to use GCL. > Temporary directory for compiler files set to /tmp/ > > >(defconstant aa 1) > > AA > > >(defvar bb 1) > > BB > > >(defstruct ttt aa) > > TTT > > >(defstruct uuu bb) > > UUU > > >(make-ttt) > > Error: AA is not a variable. > Fast links are on: do (si::use-fast-links nil) for debugging > Error signalled by MAKE-TTT. > Broken at MAKE-TTT. Type :H for Help. > >>:q > > Top level. > >(make-uuu) > > #S(UUU BB NIL) > > >(unintern 'aa) > > T > > >(defstruct ttt aa) > > Warning: structure TTT is changing > TTT > > >(make-ttt) > > #S(TTT AA NIL)
This is fixed in CVS and I have kludged my way around it so fret no more about this one. Tim Josling _______________________________________________ Gcl-devel mailing list Gcl-devel@gnu.org http://lists.gnu.org/mailman/listinfo/gcl-devel