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
[Caml-list] Lazy vs closure
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-05-19 (07:33)
From: Vladimir N. Silyaev <vsilyaev@m...>
Subject: Re: [Caml-list] Lazy vs closure
On Wed, May 19, 2004 at 12:04:20AM -0700, David Brown wrote:
> > Also both compilers tends to generate rather strange error.
> > =-=-=-=-=-=
> > The files lazy.cmi and lazy.cmi make inconsistent assumptions
> > over interface Lazy
> > =-=-=-=-=-=
> > This error fixable by removing lazy.cmi from a disk.
> Your module name is the same as the Lazy module that you're trying to
> use.  Rename your program to something else and see if that gets rid of
> the problem.
Good catch!! It get rid of initial problem, but another issue came up:
> ocamlopt.opt -v
The Objective Caml native-code compiler, version 3.07+2
Standard library directory: /usr/local/lib/ocaml
>ocamlopt.opt lazy_test.ml
Files lazy_test.cmx and /usr/local/lib/ocaml/stdlib.cmxa
make inconsistent assumptions over implementation Lazy

Same error on MinGW (binary installation) and on FreeBSD (compiled from
the source code).


To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners