From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA19532; Thu, 17 Jan 2002 19:03:19 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA19229 for caml-list@pauillac.inria.fr; Thu, 17 Jan 2002 19:03:19 +0100 (MET) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA20636 for ; Wed, 16 Jan 2002 20:06:30 +0100 (MET) Received: from ns.bagley.org (ns.bagley.org [216.30.46.2]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g0GJ6S509568 for ; Wed, 16 Jan 2002 20:06:28 +0100 (MET) Received: by ns.bagley.org (TRS/80 Mail Daemon, from userid 500) id C2A04FBA5C; Wed, 16 Jan 2002 13:06:28 -0600 (CST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15429.53044.630924.906843@ns.bagley.org> Date: Wed, 16 Jan 2002 13:06:28 -0600 To: Subject: Re: [Caml-list] error messages to stdout? From: Doug Bagley Organization: Podereterno Delaflor SA X-Face: "|NaWfYJ-]P="T#?R.9}QgGuFXUd@3vi[.E2q-;"NV3+k_y@zreL2w^ts0XPXtt9^9{uQ@.cu2GgUgK9@HXC\a}Rtah}0'eT~>or7[~Hd?;!\Bpo#"3w>0a0ft-MvvZ In-Reply-To: <006001c19ebe$b2558b10$eb00a8c0@warp> References: <15429.3000.625598.380078@ns.bagley.org> <006001c19ebe$b2558b10$eb00a8c0@warp> Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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/topdirs.ml ... 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 Euros. cheers, doug ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr