From: Gabriel Kerneis <kerneis@enst.fr>
To: David MENTRE <dmentre@linux-france.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Issue to compile a program with camlp4 in OCaml 3.10.0
Date: Tue, 23 Sep 2008 08:53:05 +0200 [thread overview]
Message-ID: <20080923065305.GB3637@kerneis.info> (raw)
In-Reply-To: <871vzbud4f.fsf@pat35-1-82-229-60-210.fbx.proxad.net>
On Mon, Sep 22, 2008 at 10:41:52PM +0200, David MENTRE wrote:
> ocamlopt -pp "camlp4o pa_op.cmo" -I src -c src/common.ml
> File "src/common.ml", line 5, characters 101-102:
> Parse error: "in" expected after [binding] (in [expr])
> Preprocessor error
>
> let heap_size () : float = [...]
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).
Regards,
--
Gabriel Kerneis
next prev parent reply other threads:[~2008-09-23 6:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-22 20:41 David MENTRE
2008-09-23 6:53 ` Gabriel Kerneis [this message]
2008-09-23 16:22 ` [Caml-list] " David MENTRE
2008-09-23 8:08 ` Сергей Плаксин
2008-09-23 16:29 ` David MENTRE
2008-09-24 6:56 ` Michel Mauny
2008-09-23 10:18 ` Richard Jones
2008-09-23 16:31 ` David MENTRE
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080923065305.GB3637@kerneis.info \
--to=kerneis@enst.fr \
--cc=caml-list@inria.fr \
--cc=dmentre@linux-france.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox