Bug#993045: Please bring back the -unsafe-string switch
Le lundi 06 septembre 2021 à 10:44 +0200, Stéphane Glondu a écrit :
> Le 06/09/2021 à 10:08, Julien Puydt a écrit :
> > > How come this is an issue only now? The transition to OCaml
> > > 4.11.1
> > > (the
> > > first version with unsafe strings disabled in Debian) was done
> > > last
> > > November...
> >
> > Very good question. I just checked: scilab 6.1.0 didn't need unsafe
> > strings ; 6.1.1 does.
>
> This goes against evolution. New code should not need unsafe strings.
> Is
> a (tentative) source package for 6.1.1 available? I can have a closer
> look...
>
The configure script checks for the availability of the switch, and
adds it to OCAMLCFLAGS... I checked String.set doesn't seem to be used
and String.blit only once, so perhaps there's something simple to do.
My current packaging is available here:
https://salsa.debian.org/science-team/scilab
> > Is phasing out unsafe strings an OCaml upstream decision?
>
> Yes.
Sigh... that wouldn't be the first time scilab upstream does something
like this...
Cheers,
J.Puydt
Reply to: