From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr 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 EAB22BB84 for ; Tue, 11 Jul 2006 15:17:45 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.6/8.13.6) with ESMTP id k6BDHjbZ000678 for ; Tue, 11 Jul 2006 15:17:45 +0200 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 PAA10114 for ; Tue, 11 Jul 2006 15:17:44 +0200 (MET DST) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k6BDHhS5006267 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 11 Jul 2006 15:17:44 +0200 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1G0I6r-0004f8-Qu for caml-list@inria.fr; Tue, 11 Jul 2006 15:17:07 +0200 Received: from cpe-68-174-95-226.ucwphilly.res.rr.com ([68.174.95.226]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Jul 2006 15:17:05 +0200 Received: from geoffw by cpe-68-174-95-226.ucwphilly.res.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Jul 2006 15:17:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Geoffrey Alan Washburn Subject: Re: Pretty printing Toploop errors? Date: Tue, 11 Jul 2006 09:16:43 -0400 Message-ID: <44B3A4BB.4020200@cis.upenn.edu> References: <20060710.190623.74192572.keiko@kurims.kyoto-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cpe-68-174-95-226.ucwphilly.res.rr.com User-Agent: Thunderbird 1.5.0.4 (X11/20060516) In-Reply-To: <20060710.190623.74192572.keiko@kurims.kyoto-u.ac.jp> Sender: news X-Miltered: at nez-perce with ID 44B3A4F9.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 44B3A4F7.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; upenn:01 toploop:01 cmo:01 ocaml:01 posts:01 wrote:01 alan:01 linking:02 linking:02 library:03 context:04 driver:04 driver:04 cis:07 edu:08 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 Keiko Nakata wrote: > Take a look at driver/errors.ml. > It may be useful. Thanks, linking against driver/errors.cmo and using Errors.report_error worked. However, is there some other library I could link against that wouldn't require end-users having access to the OCaml sources? I did some some investigation, but wasn't able to find one. I've seen some posts in the past where people have been using Errors.report_error, but it wasn't obvious from the context what they were linking to get it.