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
[Caml-list] Question about warning message.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-05-05 (15:16)
From: Claudio Trento <trento@d...>
Subject: [Caml-list] Question about warning message.
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?



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