Re: Bug in new get()?
- Posted by Jason Gade <jaygade at ya?oo?com> Aug 16, 2007
- 530 views
CChris wrote: > > Jason Gade wrote: > > > > I'm not sure if it's my build process or what. I'm still unable to make > > backendw.exe > > / backendu on Windows or Linux, but I seem to be making exw and exu just > > fine > > and the library just fine. > > > > On both Linux and Windows the linker gives me similar errors while building > > the backend: > > main-.o: In function `main': > > main-.c:(.text+0x84c): undefined reference to `_6upper' > > > > > > Another problem is that sanity.ex is failing testget() which stems from the > > changes to get.e. > > > > Never mind... testget() in sanity.ex is expecting get() to return a sequence > > of length two, not four. That'll have to be fixed... > > > > -- > > A complex system that works is invariably found to have evolved from a > > simple > > system that works. > > --John Gall's 15th law of Systemantics. > > > > "Premature optimization is the root of all evil in programming." > > --C.A.R. Hoare > > > > j. > > I cannot check the repository easily now because of https// issues - will do > so in 10 hours when I'm back home -, but I suspect some of your files are out > of sync: > * get.e was changed long ago, and sanity.ex a little later. There is a remote > possibility that > I forgot to update the trunk; but you can grab the one at <a > href="http://oedoc.free.fr/value_get/sanity.ex">http://oedoc.free.fr/value_get/sanity.ex</a> > , it will work. > * Since I fixed the Same_name() routine, the interpreter no longer uses > upper(), > so I'm surprised that you get this compile error. I had some errors at various > points of course, but never this one. And OpenWatcom 1.6 under Windows outputs > exw.exe and ex.exe without an error for me. This is why I suspect you are (the > compiler is) mixing files from different sources somehow. > > Perform an svn update of your working copy, clean all *.c/*.obj files and try > again: that may just do the job. > > CChris Well, I've been doing an svn update before doing any other work whatsoever, and I'm working with the trunk. And yes I've been cleaning all of my *.o/*.obj/*.s/*.c files every time as well. I find I have to do so manually, though. Not a big issue. I noticed the copyright in get.e from the trunk is 2006 and 3.0 instead of 2007 and 3.1. I can only build at home so that will be about another 9-10 hours or so from the time of posting this message. Juergen -- yeah, I'm working with the sourceforge stuff. Sorry! I haven't tried the 3.1.1 release version yet. -- A complex system that works is invariably found to have evolved from a simple system that works. --John Gall's 15th law of Systemantics. "Premature optimization is the root of all evil in programming." --C.A.R. Hoare j.