[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2002-08-15 (22:55) |
From: | Brian Naylor <bwv211mail@y...> |
Subject: | [Caml-list] inconsistent assumptions over interface . . . |
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