caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Damien Doligez <damien.doligez@inria.fr>
To: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Warning options
Date: Mon, 14 Feb 2005 18:17:08 +0100	[thread overview]
Message-ID: <afca05efdbcb277facfd060fd7ecb174@inria.fr> (raw)
In-Reply-To: <1108082923.16698.184.camel@pelican.wigram>

On Feb 11, 2005, at 01:48, skaller wrote:

> Ocaml appears to be following the same path as gcc with
> respect to warnings: if a warning option isn't recognized
> it is reported as a hard error.
>
> This feature creates an unnecessary upwards compatibility
> barrier, and I request the INRIA team consider fixing it.
> The correct strategy is to generate a warning, but
> continue compiling anyhow.

You're right, I will remove the check and silently ignore the
bad warning flags.

> (d) I put -w y to disable the warning

In the meantime, you can use "-w aCDFMPSUVX" to disable the Y
warning in a compatible way.  Not very elegant, but it should
work.

> or provide a new warning like -w W w which disables/enables
> the warning about bad warning flags depending on the
> default (kind of complex ..)

I don't think we want to go that far.

-- Damien


      reply	other threads:[~2005-02-14 17:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-11  0:48 skaller
2005-02-14 17:17 ` Damien Doligez [this message]

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=afca05efdbcb277facfd060fd7ecb174@inria.fr \
    --to=damien.doligez@inria.fr \
    --cc=caml-list@inria.fr \
    /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;
as well as URLs for NNTP newsgroup(s).