English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
strange behavior with camlp4 and #use
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-09-16 (21:58)
From: Hezekiah M. Carty <hcarty@a...>
Subject: Re: [Caml-list] strange behavior with camlp4 and #use
On Tue, Sep 16, 2008 at 5:31 PM, Peng Zang <peng.zang@gmail.com> wrote:
> Hi,
> I am running 3.10.2 installed from GODI.  Findlib is similarly installed.  I
> run into the following error
>  "I/O error: Bad file descriptor"
> when I try to '#use somefile' several times (when camlp4 is turned on).

Yes, this is an unfortunate error which came along with the new camlp4
in OCaml 3.10.x.  The error is reported in the OCaml bug tracker here
(please pardon the strange grammar in the bug title - I don't know
what I was thinking when I wrote it):


This bug may be related as well:


It is marked as "assigned", so hopefully it will be fixed by the time
OCaml 3.11 is released.  As it is, the bug makes using both camlp4 and
#use in the REPL prohibitive.


Hezekiah M. Carty
Graduate Research Assistant
University of Maryland
Department of Atmospheric and Oceanic Science