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] ocamlc linking loads dlls?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-11-15 (06:59)
From: Chris Hecker <checker@d...>
Subject: Re: [Caml-list] ocamlc linking loads dlls?

>That's trivial. But if you don't know what
>you do, you're going to have runtime errors later, so this is not a
>reasonable default.

Is this any different from a C application with the wrong import 
library?  It will fail on load.  Will the caml program fail at an arbitrary 
point during runtime or at load time?  Ignoring using dynlink, of course, 
which has the equivalent runtime failure in the C case.

I'd be fine with a compiler switch, though.

Chris

-------------------
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