| Anonymous | Login | Signup for a new account | 2013-05-20 03:18 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 | ||||||
| 0004855 | OCaml | Camlp4 | public | 2009-09-02 13:31 | 2012-09-17 17:24 | ||||||
| Reporter | Dmitry Grebeniuk | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||||
| Status | confirmed | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | 3.11.1 | ||||||||||
| Target Version | 4.00.2+dev | Fixed in Version | |||||||||
| Summary | 0004855: camlp4 doesn't handle "-I +directory" notation for include directories | ||||||||||
| Description | I'm using a syntax extension that installs to `ocamlc -where`/dir. I've tried to use it with $ camlp4 ... -I +dir pa_someext.cmo ... but with no success: Camlp4: Uncaught exception: DynLoader.Error ("pa_someext.cmo", "file not found in path") However, ocamlc/ocamlopt does handle this correctly: $ ocamlc -I +dir pa_someext.cmo -o somebin shows to me that pa_someext.cmo is found and processed. Looking at camlp4 sources I've figured out why camlp4 doesn't handle +directory notation: function "include_dir" in "$ocamlsources/camlp4/Camlp4/Struct/DynLoader.ml" doesn't have any special processing of "+directory" syntax. IMHO every ocaml-related tool (toplevel, compiler, preprocessor) should have the same semantics for -I option. | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2009-09-02 13:31 | Dmitry Grebeniuk | New Issue | |
| 2009-09-02 13:31 | Dmitry Grebeniuk | Status | new => assigned |
| 2009-09-02 13:31 | Dmitry Grebeniuk | Assigned To | => ertai |
| 2012-07-11 14:21 | doligez | Assigned To | ertai => |
| 2012-07-11 14:21 | doligez | Status | assigned => acknowledged |
| 2012-07-11 14:21 | doligez | Target Version | => 4.01.0+dev |
| 2012-07-30 08:45 | furuse | File Added: p4_expand_directory.diff | |
| 2012-07-30 08:45 | furuse | Note Added: 0007831 | |
| 2012-07-31 13:36 | doligez | Target Version | 4.01.0+dev => 4.00.1+dev |
| 2012-09-17 17:24 | doligez | Status | acknowledged => confirmed |
| 2012-09-17 17:24 | doligez | Target Version | 4.00.1+dev => 4.00.2+dev |
| Copyright © 2000 - 2011 MantisBT Group |