From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 235BFBB81 for ; Sun, 14 Nov 2004 00:23:53 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id iADNNqaf025727 for ; Sun, 14 Nov 2004 00:23:52 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA19587 for ; Sun, 14 Nov 2004 00:23:52 +0100 (MET) Received: from swordfish.cs.caltech.edu (swordfish.cs.caltech.edu [131.215.44.124]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id iADNNprc028159 for ; Sun, 14 Nov 2004 00:23:52 +0100 Received: from [192.168.1.102] (charter-242-004.caltech.edu [131.215.242.4]) by swordfish.cs.caltech.edu (Postfix) with ESMTP id 3F31EDF287 for ; Sat, 13 Nov 2004 15:23:50 -0800 (PST) Message-ID: <41969785.4060801@cs.caltech.edu> Date: Sat, 13 Nov 2004 15:23:49 -0800 From: Aleksey Nogin Organization: California Institute of Technology, Computer Science Department User-Agent: Mozilla Thunderbird 0.9 (X11/20041109) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Caml List Subject: OCaml CVS: "Warning Z: unused variable loc" in camlp4-processed files. X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 41969788.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 41969787.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocaml:01 cvs:01 ocaml:01 cvs:01 minor:01 dev:01 caltech:02 caltech:02 warnings:02 warnings:02 bugs:03 meaningful:03 loc:05 loc:05 variable:06 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.0 X-Spam-Level: I am currently playing with OCaml 3.09+dev6 (2004-11-06) from CVS. I really like the new "unused variable" warnings (already found couple of minor bugs in our project while going over these warnings). However there is one issue that I am not sure how to solve - all the camlp4-processed files, the "EXTEND" directives end up causing a large number of "unused variable loc" warnings. I could, of course, just turn off the "Z" warning for the camlp4-preprocessed files, but this would, obviously, shut up the meaningful warnings as well. So I am wondering - are there any plans for addressing this for the 3.09 release? Thank you! -- Aleksey Nogin Home Page: http://nogin.org/ E-Mail: nogin@cs.caltech.edu (office), aleksey@nogin.org (personal) Office: Jorgensen 70, tel: (626) 395-2907