[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#670474: libpgocaml-ocaml-dev: Conflicts between extlib and camomile about UChar



Hi,

2012/4/27 Mehdi Dogguy <mehdi@dogguy.org>
On 04/26/2012 02:07 AM, Sylvain Le Gall wrote:
>
> extlib and camomile both exports UChar and doesn't agree on this
> interface. This prevents to use pgocaml with any packages that uses
> batteries (e.g. sqlexpr).
>

FWIW, I don't think building pgocaml with Batteries instead of extlib is
the right fix for this issue ; this does only move the problem elsewhere
(as you said in your report). So I'd rather leave this bugreport open
for now.

If both libraries export a same module name but with different
signature/implementation, such clashes are expected. That's how OCaml is
designed. You can either re-assign this bug to both extlib *and*
camomille and have both upstream agree on a different module name than
UChar (or rename it in only one of the libraries)… or reassign to OCaml.
I guess the former is easier to fix than the latter :)

I submitted the bug upstream:
http://code.google.com/p/ocaml-extlib/issues/detail?id=23

Though, since pgocaml 1.5 offers the possibility to switch, it is possible to switch... That is the reason why this bug is about pgocaml rather than extlib.

Regards
Sylvain Le Gall

Reply to: