Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] inconsistent assumptions over interface . . .
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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/
let foo x = x + x
$ cd a; ocamlc -pack -o apack.cmo; cd ..

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

$ cat
let foo a b = a, b
$ ocamlc -c -I a -I b
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
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: