[Openmcl-devel] save-application to show warning messages?
Pascal J. Bourguignon
pjb at informatimago.com
Tue Mar 25 06:04:17 PDT 2014
Florian Dietz <Florian.Dietz2 at gmx.de> writes:
> thanks, that fixed it.
> Any idea why this was not necessary before clozure 1.9?
> That's probably not important, but maybe it does have some useful reason.
In general you cannot expect flushing from the "system". It has always
been up to the application to flush its outputs. Even in C, you have to
use fflush(stdout); if you want to ensure output is written
(fprintf(stderr,…) calls fflush(stderr); automatically however).
So your code wasn't conforming and this is why it didn't work on
clozure 1.9 :-)
> Best regards,
> Florian Dietz
>
> On 13.03.2014 14:49, Pascal J. Bourguignon wrote:
>> Florian Dietz <Florian.Dietz2 at gmx.de> writes:
>>
>>> To compile my project, I run a lisp file that loads all other lisp
>>> files and then calls CCL:save-application to save it. It used to be
>>> that the console would show me all warnings that occured while loading
>>> the various files, so that I could look over them before calling
>>> save-application. It seems that since I updated to clozure 1.9, this
>>> is no longer the case. Instead, the warnings are displayed right after
>>> save-application is called, and the console closes immediately
>>> afterwards, so that I can't look at it. How can I fix this?
>> I would try:
>>
>> (progn (finish-output *standard-output*)
>> (finish-output *error-output*)
>> (finish-output *trace-output*))
>>
>> before save-application…
--
__Pascal Bourguignon__
http://www.informatimago.com/
"Le mercure monte ? C'est le moment d'acheter !"
More information about the Openmcl-devel
mailing list