[armedbear-devel] compile doesn't return correct values for warnings-p and failure-p

11 Aug
2012
11 Aug
'12
9:40 p.m.
(compile nil '(lambda () (char=))) ; Caught WARNING: ; Wrong number of arguments for CHAR=. ; Compilation unit finished ; Caught 1 WARNING condition #<FUNCTION (LAMBDA ()) {456E3EB3}> NIL NIL while it should be T, T. jvm-compile, which handles this doesn't succeed because the underlying with-compilation-unit eats all the warnings and errors so that jvm-compile's handler-bind doesn't get a piece of them. Binding *resignal-compiler-warnings* to T inside jvm-compile resolves this. -- With best regards, Stas.
4654
Age (days ago)
4654
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stas Boukarev