<div class="gmail_quote">On Tue, Feb 1, 2011 at 3:02 PM, Marko Kocić <span dir="ltr"><<a href="mailto:marko.kocic@gmail.com">marko.kocic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I have lisp file some.lisp which have the following at the beginning:<br>
<br>
(declaim (optimize (speed 3) (safety 0) (debug 0)))<br>
<br>
When I call (compile-file "some.lisp"), declarations in file are<br>
ignored while compiling file.</blockquote></div><div><br></div><div>I just checked with a toy example (see below) and the code is indeed generated differently when I change the declaim statement in the file. Do those problems still persist in your copy of ECL?</div>

<div><br></div><div>Juanjo</div><div><br></div><div><div>(declaim (optimize (speed 3) (safety 0) (debug 0)))</div><div>(defun faa (x)</div><div> (print (cos x)))</div></div><div><br></div><br>-- <br>Instituto de Física Fundamental, CSIC<br>

c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>