[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ledit fails to build with 3.09.0, camlp4 antiquotations and missing _loc ...



Sven Luther wrote:
On Fri, Oct 28, 2005 at 01:42:25AM +0200, Sylvain LE GALL wrote:

Hello,

On Thu, Oct 27, 2005 at 11:40:18PM +0200, Sven Luther wrote:

Hello,

Well, my first test of building something with ocaml 3.09.0 failed, namely
ledit, due to some obscure camlp4 magic :

 camlp4r pa_extend.cmo q_MLast.cmo pa_local.ml -o pa_local.ppo
 File "", line 34, characters 13-65:
 use of antiquotation syntax deprecated since version 3.06+18
 ocamlc -I `camlp4 -where` -c -impl pa_local.ppo
 File "pa_local.ml", line 19, characters 0-1:
 Unbound value _loc
 make: *** [pa_local.cmo] Error 2

It would be nice if someone with camlp4 knowledge could have a look.


Being actually in camlp4 programming, i think i can manage this ! (at
least i have already correct both of this kind of error on my own).

Can you wait until next monday ?


Any chance to look at this ?

FWIW Gerd Stolpmann apparently recently explained how to fix this on the caml-list:

These all failed because of the loc to _loc change in camlp4. Tip: Use
the -loc argument of camlp4 to revert to the old name of this variable,
and you need not to change code. This also works for O'Caml 3.08.

Cheers,

Samuel.



Reply to: