wtetzner / bitstring

Automatically exported from code.google.com/p/bitstring
GNU General Public License v2.0
0 stars 0 forks source link

Bitstring cannot be used with other syntax extensions when using ocamlfind #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The package "bitstring.syntax" defines the variable "preprocessor", which
conflict with the package "camlp4" which already defines it.

For example:

$ touch foo.ml
$ ocamlfind ocamlc -syntax camlp4o -package
camlp4.macro,bitstring,bitstring.syntax -c foo.ml

fails with the following error message:

ocamlfind: No unique value for the META variable 'preprocessor': package
camlp4 defines `camlp4', package bitstring.syntax defines `camlp4of'

I attached a patch which solve the issue.

Original issue reported on code.google.com by diminoje...@gmail.com on 10 Jan 2010 at 5:11

Attachments:

GoogleCodeExporter commented 8 years ago
I commit this patch (r185).

Original comment by richard....@gmail.com on 11 Jan 2010 at 1:05

GoogleCodeExporter commented 8 years ago
Richard, any chance you could cut a bitstring release that includes this fix? 
It requires a local META packaging patch otherwise.

Original comment by amadhava...@googlemail.com on 9 Jan 2012 at 10:47

GoogleCodeExporter commented 8 years ago
Sure, it's about time!

Original comment by richard....@gmail.com on 10 Jan 2012 at 11:47

GoogleCodeExporter commented 8 years ago
2.0.3 has been uploaded ..

Original comment by richard....@gmail.com on 17 Jan 2012 at 1:28