<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">To add a little bit to it: When porting old portable code to Clozure CL. Code which was originally written for a bunch of different Common Lisp implementations, including Macintosh Common Lisp.</div><div class=""><br class=""></div><div class="">Here, portions of the CLIM code ran in Lucid CL (a Lisp for Unix), Allegro CL (for Unix-like and Windows), LIspWorks (for Windows and Unix-like), Symbolics Genera, MCL (for old Macs / old Mac OS), ...</div><div class=""><br class=""></div><div class="">Note that MCL evolved over time with new functionalities and ports. For example MCL ran only on Motorola-68k-based Macs and a later version then worked also on PPC-based Macs. Thus the code might have different versions for some parts, for different MCL versions. Thus the difference CCL feature, inherited from the original Coral Common Lisp name.</div><div class=""><br class=""></div><div class="">But that code might not run in Clozure CL or OpenMCL (that's an older name for Clozure CL).</div><div class="">Clozure CL also uses the CCL feature, but with a different numbering scheme.</div><div class=""><br class=""></div><div class="">Clozure CL has its roots in MCL, but it has a lot of differences and some new functionality. MCL was written only for Macs and originally for the older Mac OS (not the OSX as we know it now). MCL for example did not have preemptive scheduled threads (processes in Lisp speak).</div><div class=""><br class=""></div><div class="">What's probably different:</div><div class=""><br class=""></div><div class="">* functionality late in the ANSI CL standard process</div><div class="">* processes</div><div class="">* streams</div><div class="">* CLOS MOP</div><div class="">* pathnames, syntax</div><div class="">* logical pathnames</div><div class="">* Unix functionality new in Clozure CL</div><div class="">* Mac toolbox no longer used in Clozure CL</div><div class="">* everything using the FFI</div><div class="">* feature names</div><div class="">* GUI / IDE</div><div class="">* probably some stream code</div><div class="">* characters / strings / files -> Unicode support</div><div class="">* Intel processor big-endian -> little endian</div><div class="">* timers</div><div class="">...</div><div class=""><br class=""></div><div class="">So, code written for MCL needs to be ported to Clozure CL. You want to make sure that code written specifically for MCL using #+ccl now does not get executed in Clozure CL. Make sure that you use a feature expression which will work only for MCL.</div><div class=""><br class=""></div><div class="">Then you need to create a new version for Clozure CL. Here you should use a feature expression which makes it only run in Clozure CL.</div><div class=""><br class=""></div><div class="">Then there is the case of different code versions for different implementations and default or error code:</div><div class=""><br class=""></div><div class="">#+lispworks ...</div><div class="">#+ccl-2...</div><div class="">#+excl ...</div><div class=""><br class=""></div><div class="">#-(or lispworks ccl-2 excl) (error "foo not implemented in your Lisp, needs to be ported first")</div><div class=""><br class=""></div><div class="">This should be later something like this:</div><div class=""><br class=""></div><div class=""><div class="">#+lispworks ...</div><div class="">#+(and ccl-2 mcl)...</div><div class="">#+excl ...</div><div class="">#+clozure-common-lisp ...</div><div class=""><br class=""></div><div class="">#-(or lispworks (and ccl-2 mcl) excl clozure-cl) (error "foo not implemented)</div></div><div class=""><br class=""></div><div class="">It's kind of tricky to get it right - everywhere - for all cases...</div><div class=""><br class=""></div><div class="">While we are at it, but this is unrelated to the CLIM code. There is another Common Lisp implementation which used/uses the CCL feature: Codemist Common Lisp. Luckily this implementation was/is not widely used. But in rare circumstances this creates more confusion. ;-)</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Regards,</div><div class=""><br class=""></div><div class="">Rainer</div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">Am 27.07.2016 um 20:45 schrieb Craig Lanning <<a href="mailto:craig.t.lanning@gmail.com" class="">craig.t.lanning@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Attached is the backtrace.</span><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">The symbols in the CLSM package are part of my system management</span><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">package.</span><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Craig</span><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">On Wed, 2016-07-27 at 14:05 -0400, Craig Lanning wrote:</span><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">While compiling CLIM, I ran into this error:<br class=""><br class="">;; Compiling clim:clim;completer.lisp.newest<br class=""><blockquote type="cite" class=""><br class="">Error: The value COMPILE-FILE is not of the expected type<br class=""></blockquote>CCL::LEXICAL-ENVIRONMENT.<br class=""><blockquote type="cite" class=""><br class="">While executing: CCL::DEFINITION-ENVIRONMENT, in process<br class="">listener(1).<br class="">Type :POP to abort, :R for a list of available restarts.<br class="">Type :? for other options.<br class=""></blockquote>1 > <br class=""><br class="">It appears to be some kind of disconnect between the compilation<br class="">environment and the compiling the file. I'm not sure what to look at<br class="">to figure out what is really wrong. Any suggestions?<br class=""><br class="">Craig</blockquote><span id="cid:2419768C-456F-43A7-A344-F65182B56272@fritz.box"><backtrace.txt></span><span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Openmcl-devel mailing list</span><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:Openmcl-devel@clozure.com" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Openmcl-devel@clozure.com</a><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="https://lists.clozure.com/mailman/listinfo/openmcl-devel" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">https://lists.clozure.com/mailman/listinfo/openmcl-devel</a></div></blockquote></div><br class=""></body></html>