From: Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>
To: titmarc@free.fr
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] OO syntax extension
Date: Fri, 15 Jul 2005 11:40:02 +0900 (JST) [thread overview]
Message-ID: <20050715.114002.15317046.garrigue@math.nagoya-u.ac.jp> (raw)
In-Reply-To: <42D71430.5030601@free.fr>
From: Marc Lasson <titmarc@free.fr>
> I am very interested in your OO syntax extension but i did not succeed
> to compile it.
> I get the following error:
>
> marc@georgie:~$ ocamlc -I +camlp4 -c -pp 'camlp4o pa_extend.cmo
> q_MLast.cmo' pa_oo.ml
> File "pa_oo.ml", line 12, characters -249--249:
> Unbound value loc
>
> The error's position looks very weird. Since i can't speak camlp4, i'm
> unable to fix it.
> Is it serious doctor ?
>
> marc@georgie:~$ ocamlc -v && camlp4o -v
> The Objective Caml compiler, version 3.08.2
> Standard library directory: /usr/lib/ocaml/3.08
> Camlp4 version 3.08.2
Simplest fix: upgrade to 3.08.3.
"loc" was changed to "_loc" between 3.08.2 and 3.08.3.
You can also replace all occurrences of "_loc" in the source by "loc".
Jacques Garrigue
next prev parent reply other threads:[~2005-07-15 2:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-09 3:59 Polymorphic map and " Jacques Garrigue
2005-07-15 1:41 ` [Caml-list] " Marc Lasson
2005-07-15 2:40 ` Jacques Garrigue [this message]
2005-07-15 4:10 ` Martin Jambon
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=20050715.114002.15317046.garrigue@math.nagoya-u.ac.jp \
--to=garrigue@math.nagoya-u.ac.jp \
--cc=caml-list@inria.fr \
--cc=titmarc@free.fr \
/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