caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* ocamlbuild: Enabling all warnings
@ 2007-05-18 20:14 Joel Reymont
  2007-05-19  9:54 ` [Caml-list] " Nicolas Pouillard
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Reymont @ 2007-05-18 20:14 UTC (permalink / raw)
  To: OCaml List

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.

	Thanks, Joel

--
http://wagerlabs.com/






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] ocamlbuild: Enabling all warnings
  2007-05-18 20:14 ocamlbuild: Enabling all warnings Joel Reymont
@ 2007-05-19  9:54 ` Nicolas Pouillard
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Pouillard @ 2007-05-19  9:54 UTC (permalink / raw)
  To: Joel Reymont; +Cc: OCaml List

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-19  9:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-18 20:14 ocamlbuild: Enabling all warnings Joel Reymont
2007-05-19  9:54 ` [Caml-list] " Nicolas Pouillard

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).