From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id ECD0F7EE99 for ; Tue, 7 Jan 2014 12:46:48 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of john@coherentgraphics.co.uk) identity=pra; client-ip=188.64.184.40; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="john@coherentgraphics.co.uk"; x-sender="john@coherentgraphics.co.uk"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of john@coherentgraphics.co.uk) identity=mailfrom; client-ip=188.64.184.40; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="john@coherentgraphics.co.uk"; x-sender="john@coherentgraphics.co.uk"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@bluechip4.ukhost4u.com) identity=helo; client-ip=188.64.184.40; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="john@coherentgraphics.co.uk"; x-sender="postmaster@bluechip4.ukhost4u.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArcCADHoy1K8QLgoemdsb2JhbABZg0O6L4EYFg4BAQsHDQk8gmRAIxoWGAMCAQIBS4gbAZsZqTgXk0IEmUeFFY59 X-IPAS-Result: ArcCADHoy1K8QLgoemdsb2JhbABZg0O6L4EYFg4BAQsHDQk8gmRAIxoWGAMCAQIBS4gbAZsZqTgXk0IEmUeFFY59 X-IronPort-AV: E=Sophos;i="4.95,618,1384297200"; d="scan'208";a="43832423" Received: from bluechip4.ukhost4u.com ([188.64.184.40]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 07 Jan 2014 12:46:48 +0100 Received: from [46.64.58.255] (port=63181 helo=[192.168.1.66]) by bluechip4.ukhost4u.com with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.82) (envelope-from ) id 1W0V7P-004CzZ-8r for caml-list@inria.fr; Tue, 07 Jan 2014 11:46:47 +0000 Message-ID: <52CBE924.4070102@coherentgraphics.co.uk> Date: Tue, 07 Jan 2014 11:46:44 +0000 From: John Whitington User-Agent: Postbox 3.0.8 (Macintosh/20130427) MIME-Version: 1.0 To: "caml-list@inria.fr" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bluechip4.ukhost4u.com X-AntiAbuse: Original Domain - inria.fr X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - coherentgraphics.co.uk X-Get-Message-Sender-Via: bluechip4.ukhost4u.com: authenticated_id: john@coherentgraphics.co.uk Subject: [Caml-list] Adding functions to Pervasives Hi, I'm building a patch for OCaml which requires adding a couple of functions to Pervasives. I have modified stdlib/pervasives.ml(i) and otherlibs/threads/pervasives.ml to add these new (pure ocaml) functions. This builds, but the resulting ocaml toplevel gives Fatal error: exception Env.Error() on startup. This is on a clean checkout, save for my simple changes. Is there some magic needed when adding something to Pervasives? Thanks, -- John Whitington Director, Coherent Graphics Ltd http://www.coherentpdf.com/