I have lisp file some.lisp which have the following at the beginning: (declaim (optimize (speed 3) (safety 0) (debug 0)))
When I call (compile-file "some.lisp"), declarations in file are ignored while compiling file. When I execute those declarations before call to compile-file, then the file is compiled with declared settings. Am I doing something wrong? CLHS for declaim specifies: "If a use of this macro appears as a top level form in a file being processed by the file compiler, the proclamations are also made at compile-time. As with other defining macros, it is unspecified whether or not the compile-time side-effects of a declaim persist after the file has been compiled." So I assumed that file containig this declaration at the begining will be compiled with these optimizations as specified. Regards, Marko Kocić ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Ecls-list mailing list Ecls-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecls-list