Commits

camlspotter  committed 130743d

added a CR

  • Participants
  • Parent commits 6275706
  • Branches dev

Comments (0)

Files changed (2)

 # Various commands and dir
 ##########################
 CAMLRUN= ocamlrun
-OCAMLC   = ocamlc -annot -bin-annot -w Ae-4-9 -warn-error Ae-4-9-32-33-34
-OCAMLOPT = ocamlopt -annot -bin-annot -w A-4-9 -warn-error Ae-4-9-32-33-34
+OCAMLC   = ocamlc -annot -bin-annot -w A-4-9 -warn-error A-4-9-32-33-34
+OCAMLOPT = ocamlopt -annot -bin-annot -w A-4-9 -warn-error A-4-9-32-33-34
 OCAMLDEP = ocamldep
 OCAMLLEX = ocamllex
 OCAMLYACC= ocamlyacc
           Debug.format "cmt loaded now extracting things from %s ...@." path;
           let str, loc_annots = abstraction_of_cmt cmt in
           Debug.format "cmt loaded: abstraction extracted from %s@." path;
-          
+
+          (* CR jfuruse: this is a dirty workaround. It should be nice if we could know cmt is created by opt or byte *)          
           let cm_extension = 
             if List.exists (fun x -> match Filename.split_extension x with (_, ".cmx") -> true | _ -> false) (Array.to_list cmt.cmt_args)
             then ".cmx" else ".cmo"