[Ecls-list] Critical change

Juan Jose Garcia-Ripoll jjgarcia at users.sourceforge.net
Thu Jan 18 11:53:15 UTC 2007


Hi,

I have made some quick changes to ECL, adding prefixes to most
functions that did not have them. So now, almost all functions in ECL
begin with either ecl_, cl_, si_, clos_ or cmp_.  Some changes still
to be made: rename some functions from cl_* to ecl_*, so that prefix
cl_ is restricted to functions that belong in the COMMON-LISP package.

I have checked almost all files. There might be some references still
missing in the lisp->C compiler The symptom then would be that a file
does not compile or does not link. Please report it.

Hope this helps.

Juanjo


2007/1/18, Juan Jose Garcia-Ripoll <jjgarcia at users.sourceforge.net>:
> 2007/1/16, Stanislaw Halik <sthalik+ecl at tehran.lain.pl>:
> > After linking ECL with a certain C program, it crashes in cl_boot().
> >
> > Backtrace follows:
> >
> > (gdb) bt
> > # 0  0xb79472de in ecl_find_package_nolock (name=0x0) at /tmp/ecl-cvs/ecl/build/ecl/object.h:639
> > # 1  0xb7947425 in si_coerce_to_package (p=0x0) at /tmp/ecl-cvs/ecl/src/c/package.d:260
> > # 2  0xb794854c in intern (name=0x8164300, p=0x0, intern_flag=0xbffb8164) at /tmp/ecl-cvs/ecl/src/c/package.d:303
>
> In the end it was _not_ a problem with the garbage collector, but a
> name clash. The ECL library has a function called current_package()
> and your code too.

-- 
Dpto. de Fisica Teorica I, Fac. de CC Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 2804 (Spain)
http://teorica.fis.ucm.es/~jjgarcia/




More information about the ecl-devel mailing list