From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 0F785BC88 for ; Thu, 3 Feb 2005 13:55:52 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j13CtpfD002833 for ; Thu, 3 Feb 2005 13:55:51 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA02736 for ; Thu, 3 Feb 2005 13:55:51 +0100 (MET) Received: from eset.msh.net (ns.insight.de [194.231.36.195]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j13Ctosn002828 for ; Thu, 3 Feb 2005 13:55:51 +0100 Received: from localhost (localhost.localdomain [127.0.0.1]) by eset.msh.net (Postfix) with ESMTP id A3A8ECE0216; Thu, 3 Feb 2005 13:55:48 +0100 (CET) Received: from seshat.re-entry.de (xdsl-81-173-250-112.netcologne.de [81.173.250.112]) by eset.msh.net (Postfix) with ESMTP id 78843CE0209 for ; Thu, 3 Feb 2005 13:55:40 +0100 (CET) Received: by seshat.re-entry.de (Postfix, from userid 500) id 6BCDC56F97; Thu, 3 Feb 2005 13:55:40 +0100 (CET) Date: Thu, 3 Feb 2005 13:55:40 +0100 From: Michael Lahr To: caml-list@inria.fr Subject: Re: [Caml-list] Matching Unix_error Message-ID: <20050203125540.GA610@re-entry.de> Mail-Followup-To: Michael Lahr , caml-list@inria.fr References: <20050203111702.GA31877@re-entry.de> <20050203.134042.63128009.andrieu@ijm.jussieu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050203.134042.63128009.andrieu@ijm.jussieu.fr> X-Virus-Scanned: by amavisd-new at eset.msh.net X-Miltered: at nez-perce with ID 42021F57.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 42021F56.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 andrieu:01 andrieu:01 ijm:01 incorrectly:01 ocamlc:01 foo:01 foo:01 cmo:01 ocamlc:01 escaping:01 ...:98 unix:01 unix:01 exceptions:01 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.2 X-Spam-Level: Olivier Andrieu : > I had this problem once, it was due to a library that was incorrectly > packaged. The library was built like this : > > ocamlc -a -o foo.cma unix.cma foo.cmo ... > > i.e. the library itself included unix.cma. When I built my program > like this : > > ocamlc -o my_prog unix.cma foo.cma my_prog.ml > > it had this behavior (the exceptions escaping the try .. with). Thanks, this was indeed the cause of the problem. Michael --