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 TAA20424; Wed, 16 Jan 2002 19:53:48 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 TAA18012 for ; Wed, 16 Jan 2002 19:53:47 +0100 (MET) Received: from relay-2v.club-internet.fr (relay-2v.club-internet.fr [194.158.96.113]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g0GIrk509145 for ; Wed, 16 Jan 2002 19:53:46 +0100 (MET) Received: from warp (lns01v-6-116.w.club-internet.fr [213.44.245.116]) by relay-2v.club-internet.fr (Postfix) with SMTP id 17BFB171B; Wed, 16 Jan 2002 19:53:45 +0100 (CET) Message-ID: <006001c19ebe$b2558b10$eb00a8c0@warp> From: "Warp" To: , "Doug Bagley" References: <15429.3000.625598.380078@ns.bagley.org> Subject: Re: [Caml-list] error messages to stdout? Date: Wed, 16 Jan 2002 19:50:40 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > File /usr/local/lib/ocaml/contrib/fs_lib.cma is not up-to-date with respect to > interface Pcre > > The problem was that I piped my ocaml script's output to a file that > was supposed to just contain data, and then I graphed it, so the error > message showed up in a graph, which was kind of funny but not what I > expected. I use pipes and filters a lot, so this could really put a > wrench in my plans. > > Anyway, it would be like, cool, if I could get those errors going to > stderr instead, or be enlightened as to the error of my ways. Thanks. 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 ) ------------------- 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