Browse thread
Issue to compile a program with camlp4 in OCaml 3.10.0
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Gabriel Kerneis <kerneis@e...> |
| Subject: | Re: [Caml-list] Issue to compile a program with camlp4 in OCaml 3.10.0 |
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