Jim Newton
2/26/2016 10:02:00 AM
Thanks Robert Goldman for pointing me to the issue.
The problem is that if a condition warning condition is raised during compilation, compile-file
is specified to consider this a failure. An exception is made for style-warning conditions.
compile-file --> The tertiary value, failure-p, is false if no conditions of type error or warning (other than style-warning) were detected by the compiler, and true otherwise.
The reason my example was working when I called compile-file directly was simply that I was ignoring the 3rd return value. voila.