English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Using camlp4 in extensions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-12-15 (16:16)
From: Jacques Carette <carette@m...>
Subject: Re: [Caml-list] Using camlp4 in extensions
Mauricio Fernandez wrote:
> I believe he's not referring to simultaneous use of pa_monad and another
> extension in user code, but of Camlp4MacroParser *in* the sources of pa_monad.
That's right.

> Since pa_monad is build with
>   ocamlc -I +camlp4 -pp camlp4orf -c pa_monad.ml
> changing that to 
>   ocamlc -I +camlp4 -pp "camlp4orf Camlp4MacroParser.cmo" -c pa_monad.ml
> might work.
Definitely worth exploring, thanks!