From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE, HTML_MESSAGE autolearn=disabled version=3.1.3 Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 4980FBC0A for ; Fri, 18 May 2007 23:37:18 +0200 (CEST) Received: from web27015.mail.ukl.yahoo.com (web27015.mail.ukl.yahoo.com [217.146.177.15]) by discorde.inria.fr (8.13.6/8.13.6) with SMTP id l4ILbHpg001699 for ; Fri, 18 May 2007 23:37:18 +0200 Received: (qmail 4098 invoked by uid 60001); 18 May 2007 21:37:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=SxylKNiWaPmUPz3EvMTliBM2tOgN74eRgobu6ZGYPHZg/17GR1JdE3DpehJAjQsntEYcyPHymTEzcMQvHucevnwrsovQkbzBC5503UOgFYDJBHGNnqf8PGXSbu5iyo/yPxZ8TtxcQRQbTNcrGh3dp/M6jmrMHEasH1kh+kBHnco=; X-YMail-OSG: QDzWA5IVM1k0ZyENikuSaQS6enSm.rNomqfXd9iXMobbt3iEov89dLwnA2Ti18pzgg-- Received: from [86.199.62.93] by web27015.mail.ukl.yahoo.com via HTTP; Fri, 18 May 2007 21:37:17 GMT X-Mailer: YahooMailRC/651.23.1 YahooMailWebService/0.7.41.10 Date: Fri, 18 May 2007 21:37:17 +0000 (GMT) From: Matthieu Wipliez Subject: Re : [Caml-list] ocamlbuild: Enabling all warnings To: caml-list@inria.fr MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1230638818-1179524237=:3225" Message-ID: <652557.3225.qm@web27015.mail.ukl.yahoo.com> X-Miltered: at discorde with ID 464E1C8D.003 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; matthieu:01 matthieu:01 ocaml:01 ocamlc:01 flags:01 beginner's:01 ocaml:01 bug:01 ocamlc:01 flags:01 beginner's:01 bug:01 2007,:98 copiez:98 2007,:98 --0-1230638818-1179524237=:3225 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Joel,=0A=0Aif I understand correctly, I'd say using "-cflags -w,a" every= where you need.=0A=0AMatthieu=0A=0A----- Message d'origine ----=0ADe : Joel= Reymont =0A=C0 : OCaml List =0AEnvoy= =E9 le : Vendredi, 18 Mai 2007, 22h14mn 01s=0AObjet : [Caml-list] ocamlbuil= d: Enabling all warnings=0A=0AWhat is the easiest way to tell ocamlbuild to= always invoke ocamlc =0Awith "-w a"?=0A=0AI understand that I can set up = flags in myocamlbuild.ml but I would =0Athen have to apply them to files i= n my _tags, right?=0A=0AOverall, I'm not sure how to do this and welcome an= y suggestions.=0A=0A Thanks, Joel=0A=0A--=0Ahttp://wagerlabs.com/=0A=0A= =0A=0A=0A=0A_______________________________________________=0ACaml-list mai= ling list. Subscription management:=0Ahttp://yquem.inria.fr/cgi-bin/mailman= /listinfo/caml-list=0AArchives: http://caml.inria.fr=0ABeginner's list: htt= p://groups.yahoo.com/group/ocaml_beginners=0ABug reports: http://caml.inria= .fr/bin/caml-bugs=0A=0A=0A=0A=0A=0A=0A=0A ____________________________= _________________________________________________ =0ANe gardez plus qu'une = seule adresse mail ! Copiez vos mails vers Yahoo! Mail --0-1230638818-1179524237=:3225 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Joel,

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

Matthieu

----- Message d'origi= ne ----
De : Joel Reymont <joelr1@gmail.com>
=C0 : OCaml List &= lt;caml-list@inria.fr>
Envoy=E9 le : Vendredi, 18 Mai 2007, 22h14mn 0= 1s
Objet : [Caml-list] ocamlbuild: Enabling all warnings

What is the easiest way to tell ocamlbuild to always invoke ocamlc &= nbsp;
with "-w a"?

I understand that I can set up flags in myocam= lbuild.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/




_______________________________________________
Ca= ml-list mailing list. Subscription management:
http://yquem.= inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's= list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: <= a target=3D"_blank" href=3D"http://caml.inria.fr/bin/caml-bugs">http://caml= .inria.fr/bin/caml-bugs


=0A=0A=0A = =0A=0A
=0ANe gardez plus qu'une seule adresse mail = ! Copiez vos mails vers= Yahoo! Mail --0-1230638818-1179524237=:3225--