[Q] Muffling compiler notes
Didier Verna <[email protected]> Sat, 13 Nov 2010 15:34:38 +0100
| Newsgroups | gmane.lisp.cmucl.general |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected] http://lists.zs64.net/mailman/listinfo/cmucl-help