| Anonymous | Login | Signup for a new account | 2013-05-21 03:39 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0005548 | OCaml | OCamlbuild (the tool) | public | 2012-03-20 11:07 | 2012-09-21 13:50 | ||||||
| Reporter | gasche | ||||||||||
| Assigned To | meyer | ||||||||||
| Priority | normal | Severity | minor | Reproducibility | N/A | ||||||
| Status | assigned | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | |||||||||||
| Target Version | 4.01.0+dev | Fixed in Version | |||||||||
| Summary | 0005548: ocamlbuild's ocamlfind integration doesn't support syntax extensions | ||||||||||
| Description | 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. | ||||||||||
| Steps To Reproduce | With some ocamlfind package "foo.syntax" that enables syntax extensions, and some file "test.ml" using the extension, ocamlfind ocamlc -syntax camlp4o -package foo.syntax test.ml does not raise a syntax error, while for instance ocamlbuild -use-ocamlfind -tag "package(foo.syntax)" test.pp.ml does (because neither ocamlfind's -I-option nor the camlp4 extension archive name are included in the camlp4o invocation). | ||||||||||
| Additional Information | 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 [^] | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Notes |
|
|
(0007112) gasche (developer) 2012-03-20 11:09 |
I discussed this with xclerc and therefore mark this as "acknowledged". If someone in the respected audience has a patch, please submit it! (Sane) contributions to fix ocamlbuild deficiencies are always welcome. |
|
(0008042) meyer (developer) 2012-09-10 05:16 |
So ocamlbuild just does not use ocamlfind in this case. This definetely needs fixing. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-03-20 11:07 | gasche | New Issue | |
| 2012-03-20 11:09 | gasche | Note Added: 0007112 | |
| 2012-03-20 11:09 | gasche | Status | new => acknowledged |
| 2012-07-10 11:27 | doligez | Target Version | => 4.01.0+dev |
| 2012-07-31 13:36 | doligez | Target Version | 4.01.0+dev => 4.00.1+dev |
| 2012-09-10 05:16 | meyer | Note Added: 0008042 | |
| 2012-09-10 05:16 | meyer | Assigned To | => meyer |
| 2012-09-10 05:16 | meyer | Status | acknowledged => assigned |
| 2012-09-21 13:50 | doligez | Target Version | 4.00.1+dev => 4.01.0+dev |
| Copyright © 2000 - 2011 MantisBT Group |