13 Nov 2010 15:34
[Q] Muffling compiler notes
Didier Verna <didier <at> lrde.epita.fr>
2010-11-13 14:34:38 GMT
2010-11-13 14:34:38 GMT
Hello, is there a way to locally (inside a specific function) shut up compiler notes like the following one ? ; (UNIX:UNIX-IOCTL (SYSTEM:FD-STREAM-FD #) UNIX:TIOCGWINSZ WINSIZE) ; --> WINSIZE ALIEN::LOCAL-ALIEN ALIEN::EXTRACT-ALIEN-VALUE ALIEN::NATURALIZE ; ==> ; (ALIEN::%SAP-ALIEN ALIEN:ALIEN '#<ALIEN::ALIEN-RECORD-TYPE #>) ; Note: Unable to optimize because: ; Could not optimize away %SAP-ALIEN: forced to do runtime ; allocation of alien-value structure. With SBCL, you can do this: (declare (sb-ext:muffle-conditions sb-ext:compiler-note)) Thanks ! -- -- Resistance is futile. You will be jazzimilated. Scientific site: http://www.lrde.epita.fr/~didier Music (Jazz) site: http://www.didierverna.com _______________________________________________ cmucl-help mailing list cmucl-help <at> cmucl.cons.org http://lists.zs64.net/mailman/listinfo/cmucl-help(Continue reading)


RSS Feed