Re: ocamlsdl, exceptions not registered
Le 18/06/2012 20:17, Florent Monnier a écrit :
> Even if it's an ocaml bug, don't you think that we should try to do something?
> [...]
> Please tell-me what you think.
I don't consider this a bug, merely an unfortunate (and "well known" :)
behaviour.
IMHO, the proper fix is to put the calls to Callback.register_exception
(and other initialization stuff) in a module that is not included in a
.cma/.cmxa (for example, sdlInit.{cmo,cmx}, like in lablgtk2). Another
workaround is to use the -linkall option.
Cheers,
--
Stéphane
Reply to: