Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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