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=1.1 required=5.0 tests=AWL,SPF_NEUTRAL 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 805E5BC0A for ; Sat, 19 May 2007 11:54:33 +0200 (CEST) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.225]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l4J9sWQv018989 for ; Sat, 19 May 2007 11:54:33 +0200 Received: by nz-out-0506.google.com with SMTP id l8so1643350nzf for ; Sat, 19 May 2007 02:54:32 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MTjuhdf/JCxY5WjKdEUNfhvGKQrI/r2JU5gF3b0Li+QKk558TYZFGaPhYRILWfViJm/AgDPrtiw1RD1gzSnR4RW1iSl+OEuN02Qv//tXzMEaVEFoQwBgkbpfAugEozbroFDWAfd2qncWZWF0ZR9tMLY8JDorbWXtEmY91wrZvjo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=i2bM1e3/4gChFTsK4tKb0eOcSLuWuA6X+gClDyvUDg00Gqh0s/Rw5Ej0JuT0wLKCUbxf4viKM7P4rMN9eudtXj+nLZu8k6hgpOAK6mRtd3BLq6BXssFBhjdhshxD0CxEuwgfBh6xlE0QGwSBQh/GAs0VHkQvrUzjWZccuv2Ed2I= Received: by 10.114.77.1 with SMTP id z1mr1372230waa.1179568471414; Sat, 19 May 2007 02:54:31 -0700 (PDT) Received: by 10.114.183.4 with HTTP; Sat, 19 May 2007 02:54:31 -0700 (PDT) Message-ID: Date: Sat, 19 May 2007 11:54:31 +0200 From: "Nicolas Pouillard" To: "Joel Reymont" Subject: Re: [Caml-list] ocamlbuild: Enabling all warnings Cc: "OCaml List" In-Reply-To: <22025193-D5A8-41EC-8029-D5409ED3EC75@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <22025193-D5A8-41EC-8029-D5409ED3EC75@gmail.com> X-j-chkmail-Score: MSGID : 464EC958.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 464EC958.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocamlc:01 flags:01 flags:01 invoke:01 wrote:01 caml-list:01 warnings:03 warnings:03 suggestions:07 nicolas:08 nicolas:08 file:08 i'm:09 warn:10 bunch:11 On 5/18/07, Joel Reymont 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