[armedbear-devel] compile doesn't return correct values for warnings-p and failure-p
![](https://secure.gravatar.com/avatar/90ff9b7df6973eae49d3d4911e2eda0c.jpg?s=120&d=mm&r=g)
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.
4566
Age (days ago)
4566
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stas Boukarev