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] Can't compile on Cygwin
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-09-27 (09:43)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: [Caml-list] Can't compile on Cygwin
On Sep 27, 2004, at 10:10, overbored wrote:

> external format_int: string -> int -> string = "format_int"
> external format_float: string -> float -> string = "format_float"
> [format_int and format_float are used further down in the file]
> So should I prepend "caml_" to both the stuff in quotes and the stuff 
> on the left? I did that and it compiled fine but I'm wondering if 
> modifying the stuff in quotes might cause problems later on.

You should prepend "caml_" to the stuff in quotes.  No need to do it
on the left.  The stuff in quotes is the C names of the primitives,
and that is what has changed between 3.07+2 and 3.08.0.

-- Damien

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