From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA29582; Wed, 5 May 2004 17:16:11 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA29601 for ; Wed, 5 May 2004 17:16:10 +0200 (MET DST) Received: from mailserver.di.unipi.it (apis.di.unipi.it [131.114.3.6]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i45FG9SH001604 for ; Wed, 5 May 2004 17:16:09 +0200 Organization: Dipartimento di Informatica Received: from nutella.di.unipi.it (nutella [131.114.3.146]) by mailserver.di.unipi.it (8.11.6/8.11.6) with ESMTP id i45FGAe16599 for ; Wed, 5 May 2004 17:16:10 +0200 Received: from localhost (trento@localhost) by nutella.di.unipi.it (8.11.6/8.9.1) with ESMTP id i45FG6W02129 for ; Wed, 5 May 2004 17:16:06 +0200 X-Authentication-Warning: nutella.di.unipi.it: trento owned process doing -bs Date: Wed, 5 May 2004 17:16:06 +0200 (CEST) From: Claudio Trento To: caml-list@inria.fr Subject: [Caml-list] Question about warning message. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-MailScanner-SpamCheck: non spam, SpamAssassin (punteggio=-4.74, necessario 5, AWL 0.16, BAYES_00 -4.90) X-Miltered: at concorde with ID 40990539.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; trento:99 trento:99 extern:01 camlprim:01 foo:01 camlparam:01 lacks:01 val:01 compiler:01 dummy:01 caml:01 int:01 int:01 variable:03 problem:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, my g++ compiler show me this warning: << warning: unused variable `int caml__dummy_n' >> Here little lines of the function that generates this warning .... extern "C" CAMLprim value foo(value n) try { CAMLparam1(n); (perhaps something lacks here?!?) int nn = Int_val(n); .... ... I don't know where is the problem! Please, who can help me? Thanks Claudio ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners