Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] error messages to stdout?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Doug Bagley <doug@b...>
Subject: Re: [Caml-list] error messages to stdout?
Warp wrote:
> If this message comes from RunTime ( when Dynamic Linking ) then
> that might be an exception throwed by the dynlink. Then you can
> catch it and print it to stderr ( using Printexc.to_string )

Well, I may be wrong, but this message is just printed to stdout by
toplevel/ ... it is not the result of an exception. And, I'm
no expert, but I believe "exceptions" already go to stderr.

The philosophy of printing all errors and diagnostics to a separate
channel from program data is, well, maybe the way to go? Just my .02

Bug reports:  FAQ:
To unsubscribe, mail  Archives: