You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OCamlbuild's ocamlfind integration includes -I-options and stuff from ocamlfind in the "compile" and "link" ocamlbuild steps but, to my knowledge, does not include them during preprocessing ("pp"). This means that while ocamlfind libraries can be used, I don't know how to use their attached syntax extensions (ocamlfind's predicate "syntax"). It would be nice if that was fixed.
With some ocamlfind package foo.syntax that enables syntax extensions, and some file test.ml using the extension,
PR transferred from https://caml.inria.fr/mantis/view.php?id=5548
[original reporter: @gasche ]
OCamlbuild's ocamlfind integration includes
-I
-options and stuff from ocamlfind in the "compile" and "link" ocamlbuild steps but, to my knowledge, does not include them during preprocessing ("pp"). This means that while ocamlfind libraries can be used, I don't know how to use their attached syntax extensions (ocamlfind's predicate "syntax"). It would be nice if that was fixed.With some ocamlfind package
foo.syntax
that enables syntax extensions, and some filetest.ml
using the extension,does not raise a syntax error, while for instance
does (because neither ocamlfind's
-I
-option nor the camlp4 extension archive name are included in the camlp4o invocation).I have discussed this with Anil Madhavapeddy which mentioned a related need on the mailing list:
https://groups.google.com/forum/#!topic/fa.caml/y6VsobyJV0s/discussion
The text was updated successfully, but these errors were encountered: