From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 2D62F7F02D for ; Wed, 22 Oct 2014 11:26:10 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of av1474@comtv.ru) identity=pra; client-ip=77.232.31.165; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="av1474@comtv.ru"; x-sender="av1474@comtv.ru"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of av1474@comtv.ru) identity=mailfrom; client-ip=77.232.31.165; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="av1474@comtv.ru"; x-sender="av1474@comtv.ru"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@akado.ru) identity=helo; client-ip=77.232.31.165; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="av1474@comtv.ru"; x-sender="postmaster@akado.ru"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoABANF2R1RN6B+lh2dsb2JhbABchDqDBs15gzICgSIBEQEBAQoLCQcWLoQDAQEDAXkFCwscBR4FAg8BBDIXE4g4DJQTnFEIlGUBAQEHAQEBAQEdGIEQjy8HgnOBWAWLKjOSAIdskjo4L4JLAQEB X-IPAS-Result: AoABANF2R1RN6B+lh2dsb2JhbABchDqDBs15gzICgSIBEQEBAQoLCQcWLoQDAQEDAXkFCwscBR4FAg8BBDIXE4g4DJQTnFEIlGUBAQEHAQEBAQEdGIEQjy8HgnOBWAWLKjOSAIdskjo4L4JLAQEB X-IronPort-AV: E=Sophos;i="5.04,768,1406584800"; d="scan'208";a="102354774" Received: from fe02x03-cgp.akado.ru (HELO akado.ru) ([77.232.31.165]) by mail2-smtp-roc.national.inria.fr with ESMTP; 22 Oct 2014 11:26:09 +0200 Received: from [10.0.66.9] (HELO linmac) by fe02-cgp.akado.ru (CommuniGate Pro SMTP 5.2.13) with ESMTP id 20916885; Wed, 22 Oct 2014 13:26:08 +0400 From: av1474@comtv.ru To: =?gb2312?B?U6imYmFzdGllbg==?= Hinderer Cc: caml-list@inria.fr In-Reply-To: <20141022091439.GA27538@pl-59055.rocqadm.inria.fr> (=?gb2312?B?IlOopmJhc3RpZW4=?= Hinderer"'s message of "Wed, 22 Oct 2014 11:14:39 +0200") Date: Wed, 22 Oct 2014 13:26:05 +0400 Message-ID: <87vbncihg2.fsf@comtv.ru> References: <20141022091439.GA27538@pl-59055.rocqadm.inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable Subject: Re: [Caml-list] String.create S=A8=A6bastien Hinderer writes: > 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 =3D 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? > String.make --=20 mailto:av1474@comtv.ru