English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Re : [Caml-list] 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: 2007-05-18 (21:37)
From: Matthieu Wipliez <mwipliez@y...>
Subject: Re : [Caml-list] ocamlbuild: Enabling all warnings
Hi Joel,

if I understand correctly, I'd say using "-cflags -w,a" everywhere you need.


----- Message d'origine ----
De : Joel Reymont <joelr1@gmail.com>
À : OCaml List <caml-list@inria.fr>
Envoyé le : Vendredi, 18 Mai 2007, 22h14mn 01s
Objet : [Caml-list] ocamlbuild: Enabling all warnings

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


Caml-list mailing list. Subscription management:
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail