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 PAA13237 for caml-red; Thu, 3 Aug 2000 15:13:53 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA31502 for ; Wed, 2 Aug 2000 19:03:33 +0200 (MET DST) Received: from tcs.inf.tu-dresden.de (tcs.inf.tu-dresden.de [141.76.75.119]) by nez-perce.inria.fr (8.10.0/8.10.0) with ESMTP id e72H3QX11045 for ; Wed, 2 Aug 2000 19:03:27 +0200 (MET DST) Received: from ithif20.inf.tu-dresden.de (ithif20 [141.76.75.120]) by tcs.inf.tu-dresden.de (8.9.1a/8.9.1) with ESMTP id TAA17593 for ; Wed, 2 Aug 2000 19:03:20 +0200 (MET DST) Received: (from tews@localhost) by ithif20.inf.tu-dresden.de (8.9.1a/8.9.1) id TAA26884; Wed, 2 Aug 2000 19:03:20 +0200 (MET DST) Date: Wed, 2 Aug 2000 19:03:20 +0200 (MET DST) Message-Id: <200008021703.TAA26884@ithif20.inf.tu-dresden.de> From: Hendrik Tews MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: caml-list@inria.fr Subject: Re: change warning to error? In-Reply-To: <200008012145.RAA23945@labrador.eecs.harvard.edu> References: <200008012145.RAA23945@labrador.eecs.harvard.edu> X-Mailer: VM 6.34 under Emacs 19.34.1 Sender: weis@pauillac.inria.fr Norman Ramsey writes: From: Norman Ramsey Date: Tue, 1 Aug 2000 17:45:44 -0400 Subject: change warning to error? 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. What about compiling from emacs and using C-x ` to step through all errors and warnings? Bye, Hendrik