From: Alessandro Baretta <alex@baretta.com>
To: Frederic Tronel <Frederic.Tronel@inrialpes.fr>,
Ocaml <caml-list@inria.fr>
Subject: Re: [Caml-list] Problem with ocamlc and recursive and parametrized classes
Date: Tue, 15 Oct 2002 00:00:34 +0200 [thread overview]
Message-ID: <3DAB3E82.6050600@baretta.com> (raw)
In-Reply-To: <3DAAA5BF.9010901@inrialpes.fr>
Frederic Tronel wrote:
> Frederic Tronel wrote:
> > Hi,
> >
> > I'm using ocaml version 3.06 for a industrial project.
> > I'm facing a well-known problem I think, that is related to
> > the use of recursive and parametrized classes.
> > Actually, adding a single line of code in one of my class generates
> > a hang up in the compilation process. The incriminated code is much too
> > long to be posted on the list, and I'm not able to reproduce the
> > phenomenon on smallest examples. But basically ocamlc seems to run in an
> > long loop consuming more and more memory. After two or three minutes and
> > more than 150Mo consumed, I stop the process.
> > Should I try to insist (is there any warranty on the finiteness of the
> > compilation ?),
Yes and no. Yes if the compiler is correct, but occasionally
a bug might slip in, and cause the compiler to loop endlessly.
> Sorry for the previous post. Is there any plan to improve the behaviour
> of the compiler in the future ? (if possible of course).
I don't want to sound flamish, but I really don't think this
question is appropriate on this mailing list.
Best wishes for your O'Caml project.
Alex
-------------------
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
next prev parent reply other threads:[~2002-10-14 21:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-14 10:45 Frederic Tronel
2002-10-14 11:08 ` Frederic Tronel
2002-10-14 22:00 ` Alessandro Baretta [this message]
2002-10-15 7:34 ` Frederic Tronel
2002-10-15 13:48 ` Yang Shouxun
2002-10-15 13:57 ` Stefano Lanzavecchia
2002-10-16 2:46 ` Jacques Garrigue
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DAB3E82.6050600@baretta.com \
--to=alex@baretta.com \
--cc=Frederic.Tronel@inrialpes.fr \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox