caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Yann Hamdaoui <yann.hamdaoui@gmail.com>
To: Caml List <caml-list@inria.fr>
Subject: [Caml-list] Inconsistent assumptions over interface
Date: Sun, 22 Apr 2018 16:53:23 +0200	[thread overview]
Message-ID: <7354001e-a4ba-781e-fc4a-3a7ccd5a91fd@gmail.com> (raw)

Dear list,

I ran into a problem today while compiling a library of mine. I got the
following error :

"Error: The files [...]/.opam/4.06.0/lib/re/re.cmi and src/format.cmi
make inconsistent assumptions over interface Format".

After a quick search it should be solved by cleaning everything and make
a fresh build. In my case it didn't, and I suspect this is because I
declared a module named Format in my lib which clashes with the
Pervasive.Format that seems to be used by the re library (which is a
dependence). Does it mean that I can't use any XXX as a module name if
it already exists in Pervasives and is used by some library I depend on ?


Y.H


-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

             reply	other threads:[~2018-04-22 14:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-22 14:53 Yann Hamdaoui [this message]
2018-04-22 15:29 ` Nicolás Ojeda Bär
2018-04-23 14:14   ` Yann Hamdaoui
2018-06-02 20:02     ` Yawar Amin
  -- strict thread matches above, loose matches on Subject: below --
2015-04-27 14:39 [Caml-list] inconsistent " Ashish Agarwal
2015-04-27 14:53 ` Drup
2015-04-27 15:02   ` Ashish Agarwal
2015-04-27 15:02 ` Daniel Bünzli
2015-04-27 15:07   ` Ashish Agarwal

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=7354001e-a4ba-781e-fc4a-3a7ccd5a91fd@gmail.com \
    --to=yann.hamdaoui@gmail.com \
    --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).