[cello-devel] Compiling

Kenneth Tilton kentilton at gmail.com
Tue Jun 1 04:46:50 UTC 2010

Kenneth Tilton wrote:
> Seth Burleigh wrote:
>> K, fixed that. I'll retire for today,  but apparently the problem is
>> that you were defining a macro which ended up like this
>> (defmacro |mk-ARC| ...)
>> and when you try to normally use the macro, its looking for MK-ARC, not
>> mk-ARC.
> Aha. You have Modern mode Allegro CL? The trial edition? Any place you 
> see me assembling a string and then interning it, look out! There will 
> often be a string-upcase there, or some assumption about the case of 
> symbol-name, or something like that.
> I'll take a look at the macro.

Hmmm, I see: (intern (conc$ "mk-" (symbol-name class)))

Not sure what's up there, but if that were

    (intern (conc$ 'mk- (symbol-name class)))

It would work in modern or ansi mode.


More information about the cello-devel mailing list