Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Ocaml and Samba function name collisions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-11-25 (14:32)
From: Nicolas Cannasse <warplayer@f...>
Subject: Re: [Caml-list] Ocaml and Samba function name collisions
> The #define you suggested does not seem to work and
> I think this is beacause they are not exported in the header
> files but are in the the .so and therefore visible in the global
> C namespace. And I'd prefer not to have to use C++ (I think
> I should be able to do it in C), so I did not try the namspace trick.

This trick was an answer to Stephano problem about the struct color defined
by the camlheaders (if I understood correcly). I'm not sure there is a
workaround for the dl primitives name collisions which does not require the
modification of one of the two dlls.

Nicolas Cannasse

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: