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 VAA23916; Sat, 20 Jul 2002 21:56:33 +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 VAA23910 for ; Sat, 20 Jul 2002 21:56:32 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from athlon.baretta.com (r-mi214-6a94.tin.it [62.211.4.94]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g6KJuVv19572 for ; Sat, 20 Jul 2002 21:56:31 +0200 (MET DST) Received: from baretta.com (localhost.localdomain [127.0.0.1]) by athlon.baretta.com (Postfix) with ESMTP id E94F7273C4 for ; Sat, 20 Jul 2002 22:03:51 +0200 (CEST) Message-ID: <3D39C227.5030301@baretta.com> Date: Sat, 20 Jul 2002 22:03:51 +0200 From: Alessandro Baretta Organization: Baretta srl -- www.baretta.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: it, en MIME-Version: 1.0 To: Ocaml Subject: Re: [Caml-list] Compiler disagreeing with itself References: <3D39C078.9050908@baretta.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Alessandro Baretta wrote: > > $ make clean > > rm -f afo.cmi ... > > $ ocamlfind ocamlc -package pxp -c utils.ml > > The compiled interfaces afo.cmi and afo.cmi > > make inconsistent assumptions over interface Afo > > We have here a schizoid compiler. Is it matter for informaticians or > psychiatrists? Informaticians, definitely. A misconfigured Makefile caused a .cmi file referring to module Afo to survive a make clean and not be scanned for dependencies. Anyhow, the error message I got was quite stunning, you'll agree. I'd call it at least a misfeature, and possibly a bug. The compiler should have told me "Compiled interfaces afo.cmi and foobar.cmi make inconsistent assumptions over interface Afo". Alex ------------------- 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