From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA12056 for caml-red; Thu, 3 Aug 2000 15:15:34 +0200 (MET DST) 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 AAA03527 for ; Thu, 3 Aug 2000 00:09:23 +0200 (MET DST) Received: from localhost.localdomain (ike96.zip.com.au [210.23.146.96]) by concorde.inria.fr (8.10.0/8.10.0) with ESMTP id e72M9Kb00092 for ; Thu, 3 Aug 2000 00:09:21 +0200 (MET DST) Received: from maxtal.com.au (IDENT:root@localhost [127.0.0.1]) by localhost.localdomain (8.9.3/8.8.7) with ESMTP id IAA15636; Thu, 3 Aug 2000 08:10:44 +1000 Message-ID: <39889C64.BD8AD9E1@maxtal.com.au> Date: Thu, 03 Aug 2000 08:10:44 +1000 From: John Max Skaller X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: Norman Ramsey CC: caml-list@inria.fr Subject: Re: change warning to error? References: <200008012145.RAA23945@labrador.eecs.harvard.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: weis@pauillac.inria.fr Norman Ramsey wrote: > > Is it possible to instruct ocamlc that the `partial match' warning > should be treated as an error, i.e., that it stop compilation and > produce no output? In using SML/NJ, I have found this option extremely > useful---I don't have to worry about overlooking a warning in six > pages of compiler output. I agree this would be useful, although my problem is different: when I compile some modules that get this warning, I _expect_ it due to changes in earlier type declarations, but I'm not up to working on it. The problem is that a subsequent 'make' will not recompile the module because it was previously successful. So I don't even get to look through six pages of warnings: the whole build looks clean. (I have to 'make clean' to see the problem, which I may forget to do). -- John (Max) Skaller, mailto:skaller@maxtal.com.au 10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850 checkout Vyper http://Vyper.sourceforge.net download Interscript http://Interscript.sourceforge.net