Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005293OCamlOCaml generalpublic2011-06-17 09:002011-08-05 07:58
Reporterart1 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusfeedbackResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005293: report clasing lines and more detailled reasons if circular builds are detected
DescriptionHello,

the actual behaviour is not very helpful. If the compiler detects circular builds, it will be very hard to find out, what is the reason for this. It would be more helpful if the compiler reports the lines in the involved modules. Very very helpful would be if the compiler also reports a more detailled explanation and give hints for resolving such conflicts.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0006084)
doligez (manager)
2011-08-04 17:19

What do you call a circular build? Are you talking about the compiler or about the ocamlbuild tool?
(0006085)
art1 (reporter)
2011-08-05 07:58
edited on: 2011-08-05 07:59

A very simple example: Module foo.ml:

let foo () = 1;;
let bar () = Foo.foo ();;

Ocamlbuild means:
 ocamlbuild foo.native
Circular build detected (foo.cmx already seen in [ foo.cmx;
foo.native ])
Compilation unsuccessful after building 3 targets (0 cached) in
00:00:00.


Hope, this helps... :)

Bye Andreas


- Issue History
Date Modified Username Field Change
2011-06-17 09:00 art1 New Issue
2011-08-04 17:19 doligez Note Added: 0006084
2011-08-04 17:19 doligez Status new => feedback
2011-08-05 07:58 art1 Note Added: 0006085
2011-08-05 07:59 art1 Note Edited: 0006085


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker