Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamlbuild: Enabling all warnings
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] ocamlbuild: Enabling all warnings
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