| Anonymous | Login | Signup for a new account | 2013-05-21 09:27 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 | |||||||
| 0004618 | OCaml | OCaml general | public | 2008-10-02 14:30 | 2012-07-29 18:05 | |||||||
| Reporter | Julien Signoles | |||||||||||
| Assigned To | frisch | |||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||||||
| Status | resolved | Resolution | not fixable | |||||||||
| Platform | OS | Linux Ubuntu | OS Version | |||||||||
| Product Version | 3.10.2 | |||||||||||
| Target Version | 4.01.0+dev | Fixed in Version | ||||||||||
| Summary | 0004618: ocamldep generates circular dependencies which don't exist | |||||||||||
| Description | Hello, Consider the following files a.ml and b.ml: === a.ml === module B = struct end === b.ml === open A open B ============ $ ocamldep a.ml b.ml b.cmo: b.cmo a.cmo b.cmx: b.cmx a.cmx | |||||||||||
| Additional Information | ocamldep has not the same scope rules for modules than ocaml[c|opt]. This bug is related to bugs 0001996 and 0004081 but here circular dependencies are generated and GNU make complains... | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
Relationships |
|||||||||||
|
|||||||||||
Notes |
|
|
(0004644) ertai (developer) 2008-10-02 16:55 |
(Just my 2cents) That's a "well known" problem of ocamldep, moreover it's very hard to avoid. Indeed to know what contains a module without typing it unfeasible (however an approximation could), and the goal of ocamldep is to run before compiling files. I've already thought about solutions of this problem (better approximations) but never took the time to push it forward. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2008-10-02 14:30 | Julien Signoles | New Issue | |
| 2008-10-02 16:55 | ertai | Note Added: 0004644 | |
| 2008-10-08 13:17 | doligez | Relationship added | related to 0001996 |
| 2008-10-08 13:17 | doligez | Relationship added | related to 0004081 |
| 2008-10-08 13:18 | doligez | Status | new => acknowledged |
| 2012-07-11 15:01 | doligez | Target Version | => 4.01.0+dev |
| 2012-07-29 18:05 | frisch | Status | acknowledged => resolved |
| 2012-07-29 18:05 | frisch | Resolution | open => not fixable |
| 2012-07-29 18:05 | frisch | Assigned To | => frisch |
| Copyright © 2000 - 2011 MantisBT Group |