caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] inconsistent assumptions over interface . . .
@ 2002-08-15 22:55 Brian Naylor
  2002-08-19  8:19 ` Xavier Leroy
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Naylor @ 2002-08-15 22:55 UTC (permalink / raw)
  To: caml-list

How can I free myself of the "inconsistent assumptions" error?  My micro test
case has the following:

$ cat a/foo.ml
let foo x = x + x
$ cd a; ocamlc -pack -o apack.cmo foo.ml; cd ..

$ cat b/foo.ml
let foo x = x +. x
$ cd b; ocamlc -pack -o bpack.cmo foo.ml; cd ..

$ cat foo.ml
let foo a b = Apack.Foo.foo a, Bpack.Foo.foo b
$ ocamlc -c -I a -I b foo.ml
The compiled interfaces a/apack.cmi and b/bpack.cmi
make inconsistent assumptions over the interface Foo

I hope this is clear... I want to be able to reuse file names for different
components of my system. I was hoping that -pack would allow me to do this, but
it seems that it's not enough... is there a solution?


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
-------------------
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] inconsistent assumptions over interface . . .
  2002-08-15 22:55 [Caml-list] inconsistent assumptions over interface . . Brian Naylor
@ 2002-08-19  8:19 ` Xavier Leroy
  0 siblings, 0 replies; 2+ messages in thread
From: Xavier Leroy @ 2002-08-19  8:19 UTC (permalink / raw)
  To: Brian Naylor; +Cc: caml-list

> How can I free myself of the "inconsistent assumptions" error?  My micro test
> case has the following:

This exposes a bug in the implementation of "-pack" in OCaml 3.05.
Expect a fix in 3.06.

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-19  8:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-15 22:55 [Caml-list] inconsistent assumptions over interface . . Brian Naylor
2002-08-19  8:19 ` Xavier Leroy

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