From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 6A955BB84 for ; Tue, 23 Sep 2008 18:22:27 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnIBAEq02EjRVZK0lGdsb2JhbACSZz4BAQEBCQkMBxEDnF+IBgECg2A X-IronPort-AV: E=Sophos;i="4.32,454,1217800800"; d="scan'208";a="29503471" Received: from discorde.inria.fr ([192.93.2.38]) by mail4-smtp-sop.national.inria.fr with ESMTP; 23 Sep 2008 18:22:27 +0200 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id m8NGMQgp017194 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Tue, 23 Sep 2008 18:22:27 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnIBAEq02EjRVZK0lGdsb2JhbACSZz4BAQEBCQkMBxEDnF+IBgECg2A X-IronPort-AV: E=Sophos;i="4.32,454,1217800800"; d="scan'208";a="29503470" Received: from wa-out-1112.google.com ([209.85.146.180]) by mail4-smtp-sop.national.inria.fr with ESMTP; 23 Sep 2008 18:22:25 +0200 Received: by wa-out-1112.google.com with SMTP id m33so1417187wag.9 for ; Tue, 23 Sep 2008 09:22:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=kuRkCVHePOkB8frFYIBBoq9E47SW5fGHT7NAtOVijAI=; b=Ug3LU6PIZsoIGxY3HaekQvkO5DWJyr8KMvXBM6EGAcXtctVLw6uR5cDe/HRewMMPgq lgGCOuM/9ReX92D6EQXT0zG0VXMRPh6QsL8psJ1iOnumsGRagtOOk2tu5GGLPaza7IFo mBq5aJ9Y5hCm7scTzELiC1pZJs+GS/vnVAAmo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=AtPqRzs1dcqjUUlmU5ElG8f1bIBnsBU0yW+jwLvMj/9FtmL9Q8oLyu1z052Hk+8ZWO 6BKWoKE5LNg4n838eeSXkCpr/8I5vVH4t25M3EghSD8TqpG08T2iTT2LvokJQhnwpuyM r9CnTiE/46VGnTbVc7pRAHdi49cieCyJlWOgM= Received: by 10.114.13.10 with SMTP id 10mr6593440wam.106.1222186944845; Tue, 23 Sep 2008 09:22:24 -0700 (PDT) Received: by 10.114.147.16 with HTTP; Tue, 23 Sep 2008 09:22:24 -0700 (PDT) Message-ID: <3d13dcfc0809230922tc9a66b0l30babe8aa8e54647@mail.gmail.com> Date: Tue, 23 Sep 2008 18:22:24 +0200 From: "David MENTRE" Sender: david.mentre@gmail.com To: caml-list@inria.fr Subject: Re: [Caml-list] Issue to compile a program with camlp4 in OCaml 3.10.0 In-Reply-To: <20080923065305.GB3637@kerneis.info> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <871vzbud4f.fsf@pat35-1-82-229-60-210.fbx.proxad.net> <20080923065305.GB3637@kerneis.info> X-Google-Sender-Auth: 74b920b7082cba2f X-Miltered: at discorde with ID 48D917C2.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 ocaml:01 val:01 syntax:01 flags:01 camlp:01 syntax:01 bug:01 ocamlopt:01 -pp:01 cmo:01 23,:98 wrote:01 compile:01 preprocessor:01 Hello Gabriel, On Tue, Sep 23, 2008 at 08:53, Gabriel Kerneis wrote: > Does the following solve the problem? > > val heap_size () : float = [...] > > If it does, it has to do with revised syntax and you should change the flags > of camlp4 (but it believe camlp4o loads the classic syntax, so it might be a > bug as well). No, it gives me another error: """ ocamlopt -pp "camlp4o pa_op.cmo" -I src -c src/common.ml File "src/common.ml", line 5, characters 0-3: Parse error: illegal begin of implem Preprocessor error """ Yours, d.