Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
To: "Joel Reymont" <joelr1@gmail.com>
Cc: "OCaml List" <caml-list@inria.fr>
Subject: Re: [Caml-list] ocamlbuild: Enabling all warnings
Date: Sat, 19 May 2007 11:54:31 +0200	[thread overview]
Message-ID: <cd67f63a0705190254w2ac670bci62f33355b3908d6a@mail.gmail.com> (raw)
In-Reply-To: <22025193-D5A8-41EC-8029-D5409ED3EC75@gmail.com>

On 5/18/07, Joel Reymont <joelr1@gmail.com> wrote:
> What is the easiest way to tell ocamlbuild to always invoke ocamlc
> with "-w a"?
>
> I understand that I can set up flags in myocamlbuild.ml but I would
> then have to apply them to files in my _tags, right?
>
> Overall, I'm not sure how to do this and welcome any suggestions.
>

Yes, but warnings flags are predeclared.

ocamlbuild -documentation

You will see that there is a bunch of tags concerning warnings

In your _tags file:
true: warn_a

-- 
Nicolas Pouillard


      reply	other threads:[~2007-05-19  9:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-18 20:14 Joel Reymont
2007-05-19  9:54 ` Nicolas Pouillard [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=cd67f63a0705190254w2ac670bci62f33355b3908d6a@mail.gmail.com \
    --to=nicolas.pouillard@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=joelr1@gmail.com \
    /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