1 Jul 23:09
cond-expand: debug?
From: w r <wrloan2000 <at> yahoo.com>
Subject: cond-expand: debug?
Newsgroups: gmane.lisp.scheme.bigloo
Date: 2008-07-01 21:12:11 GMT
Expires: This article expires on 2008-07-15
Subject: cond-expand: debug?
Newsgroups: gmane.lisp.scheme.bigloo
Date: 2008-07-01 21:12:11 GMT
Expires: This article expires on 2008-07-15
Is is possible to detect programmatically whether the currently running program was compiled with -g? I'm thinking of something along the lines of (cond-expand (bigloo-debug (print "-g used") (else (print "-g not used")) This would allow the construction of more assert-like forms which evaluate only under -g. Wayne
RSS Feed