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
Native Module Linking
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-11-10 (05:41)
From: Nicolas Cannasse <warplayer@f...>
Subject: Re: [Caml-list] Native Module Linking
> Your first assumption is wrong: open is completely unrelated to what
> will be linked or not. Or at least it is not supposed to.
> To force linking a module, one of its members should be used.
> Fo instance, using "include".
> I have no idea why it works on windows...

Yes, that was my point. Such different behaviors are error prone, since it
leads to invalid assumption on 'open' semantics.
So I think I need to add two things to the bug report here :
- fix the open on windows
- feature wish for an explicit import statement (if possible enabling
recursive modules such as proposed by John).

Nicolas Cannasse