Comment 2 for bug 1684507

Revision history for this message
Jean-Vincent Loddo (loddo) wrote : Re: [Marionnet-dev] [Bug 1684507] Re: Gettext function f_ calls Obj.magic on a format string

The bug fix is now in the repository (ocamlbricks).
Merci Stéphane,
Jean-Vincent

Le 20/04/2017 à 11:13, Stéphane Glondu a écrit :
> Since ocaml 4.02.0, format strings are no longer strings internally,
> but a more complex datatype based on GADTs. Therefore, f_ now triggers
> a segmentation fault.
>
> To convert a string to a format string, one has to use
> Scanf.format_from_string.