From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr 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 5251C7F02D for ; Wed, 22 Oct 2014 11:29:26 +0200 (CEST) X-IronPort-AV: E=Sophos;i="5.04,768,1406584800"; d="scan'208";a="102355565" Received: from lor098r.vpn.inria.fr (HELO fanon) ([128.93.180.98]) by mail2-relais-roc.national.inria.fr with ESMTP; 22 Oct 2014 11:29:26 +0200 Received: from pogodall by fanon with local (Exim 4.84) (envelope-from ) id 1XgsEa-0007Zt-B4; Wed, 22 Oct 2014 11:29:36 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <21575.30976.256858.477742@fanon.loria.fr> Date: Wed, 22 Oct 2014 11:29:36 +0200 From: Sylvain Pogodalla To: =?iso-8859-1?Q?S=E9bastien?= Hinderer Cc: caml-list@inria.fr In-Reply-To: <20141022091439.GA27538@pl-59055.rocqadm.inria.fr> References: <20141022091439.GA27538@pl-59055.rocqadm.inria.fr> X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-pc-linux-gnu) Subject: [Caml-list] String.create Hi, S=E9bastien Hinderer writes: > OCaml 4.02.0 prints the following warning: > Warning 3: deprecated: String.create (...) > 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? You can pass the -w -3 option to the compiler to disable waring messages on deprecated features. Hop this helps. S.