Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: John Max Skaller <skaller@maxtal.com.au>
To: Norman Ramsey <nr@eecs.harvard.edu>
Cc: caml-list@inria.fr
Subject: Re: change warning to error?
Date: Thu, 03 Aug 2000 08:10:44 +1000	[thread overview]
Message-ID: <39889C64.BD8AD9E1@maxtal.com.au> (raw)
In-Reply-To: <200008012145.RAA23945@labrador.eecs.harvard.edu>

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



  parent reply	other threads:[~2000-08-03 13:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-01 21:45 Norman Ramsey
2000-08-02 17:03 ` Hendrik Tews
2000-08-02 22:10 ` John Max Skaller [this message]
2000-08-04  9:18 ` David Mentré

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39889C64.BD8AD9E1@maxtal.com.au \
    --to=skaller@maxtal.com.au \
    --cc=caml-list@inria.fr \
    --cc=nr@eecs.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox