caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Richard Jones <rich@annexia.org>
To: Alain Frisch <Alain.Frisch@ens.fr>
Cc: Caml list <caml-list@inria.fr>
Subject: Re: [Caml-list] Proposal for separate compilation
Date: Fri, 21 May 2004 19:11:16 +0100	[thread overview]
Message-ID: <20040521181115.GA25788@redhat.com> (raw)
In-Reply-To: <Pine.SOL.4.44.0405211830510.21660-100000@clipper.ens.fr>

On Fri, May 21, 2004 at 06:32:23PM +0200, Alain Frisch wrote:
> You no longer get an error message:
> « Files b.cmo and a.cmo make inconsistent assumptions over interface A »

I don't really understand the intricacies of your proposal, but I do
have a small suggestion.  Can the error messages be made more
explicit.

For example, at the moment one of my colleagues is having lots of
problems building our Merjis test environment on his machine (as is
often the case, sadly ...).  The problems manifest themselves as
the Dynlink error message:

interface mismatch on <module>

This is quite an annoying error message because it doesn't tell you
what module is loading what other module and where it's finding them.
A better message would be:

interface mismatch:
  expected to find <module> with hash <0123456789abcdef>
  but found instead <module> in /usr/lib/ocaml/3.07/foo/bar.cma with
    hash <fedcba9876543210>

This would help greatly with tracking down these problems.

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://www.j-london.com/
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
If I have not seen as far as others, it is because I have been
standing in the footprints of giants.  -- from Usenet

-------------------
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


  reply	other threads:[~2004-05-21 18:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-21 16:32 Alain Frisch
2004-05-21 18:11 ` Richard Jones [this message]
2004-05-21 18:27 ` Nicolas Cannasse
2004-05-26  8:32 ` Xavier Leroy
2004-05-26 15:12   ` Nicolas Cannasse
2004-05-28  0:33   ` Alain Frisch
2004-05-28  1:54     ` Jacques GARRIGUE
2004-05-28  7:13       ` Nicolas Cannasse
2004-05-28  9:55       ` Alain Frisch
2004-05-28 10:14         ` Christian Lindig

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=20040521181115.GA25788@redhat.com \
    --to=rich@annexia.org \
    --cc=Alain.Frisch@ens.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;
as well as URLs for NNTP newsgroup(s).