Hi,

Can you send me  the generated _tags.

The problem is probably in the fact that the same file are compiled twice and are applied exactly the same set of options in ocamlbuild.

Note that in general ocaml doesn't support well conditional compilation....

Regards
Sylvain

Le 15 déc. 2012 17:17, "Wojciech Meyer" <wojciech.meyer@gmail.com> a écrit :
Hi,

Dario Teixeira <darioteixeira@yahoo.com> writes:

> Note that the major difference is that "-ppopt -DUSE_BATTERIES" must be
> passed to Camlp4 only when compiling the Batteries version.  The problem
> is that it's *always* passed, even if the "batteries" flag is disabled
> by passing "--disable-batteries" to the configure script.

Probably it's a leftover setup.data, that contains these flags.

Just remove setup.data and regenerate files,

--
Wojciech Meyer
http://danmey.org