Sébastien Hinderer
2014-10-22 09:14:39 UTC
Dear all,
OCaml 4.02.0 prints the following warning:
Warning 3: deprecated: String.create
The code that triggers this warning looks like this:
let buf = String.create size in
really_input ic buf 0 size;
Is there a way to fix the code so that it does not trigger this warning
but still compiles also with older versions of Caml, up to 3.10?
Many thanks!
Sébastien.
OCaml 4.02.0 prints the following warning:
Warning 3: deprecated: String.create
The code that triggers this warning looks like this:
let buf = String.create size in
really_input ic buf 0 size;
Is there a way to fix the code so that it does not trigger this warning
but still compiles also with older versions of Caml, up to 3.10?
Many thanks!
Sébastien.
--
Caml-list mailing list. Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs
Caml-list mailing list. Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs