From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id AAA10314; Fri, 16 Aug 2002 00:55:03 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA10447 for ; Fri, 16 Aug 2002 00:55:02 +0200 (MET DST) Received: from web13409.mail.yahoo.com (web13409.mail.yahoo.com [216.136.172.17]) by concorde.inria.fr (8.11.1/8.11.1) with SMTP id g7FMt1v13805 for ; Fri, 16 Aug 2002 00:55:01 +0200 (MET DST) Message-ID: <20020815225500.97586.qmail@web13409.mail.yahoo.com> Received: from [63.195.80.23] by web13409.mail.yahoo.com via HTTP; Thu, 15 Aug 2002 15:55:00 PDT Date: Thu, 15 Aug 2002 15:55:00 -0700 (PDT) From: Brian Naylor Subject: [Caml-list] inconsistent assumptions over interface . . . To: caml-list@inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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