Open xlisp opened 5 years ago
➜ block_of_ocaml_3 git:(master) make
ocamlfind ocamldep my_parse.mli > ._bcdi/my_parse.di
ocamlfind ocamldep main.ml > ._d/main.d
ocamlfind ocamldep my_compile.ml > ._d/my_compile.d
ocamlfind ocamldep my_parse.ml > ._d/my_parse.d
ocamlfind ocamldep astToBlock.ml > ._d/astToBlock.d
ocamlfind ocamldep xml.ml > ._d/xml.d
ocamlfind ocamlc -package compiler-libs.common,compiler-libs.bytecomp -c xml.ml
findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /Users/clojure/.opam/4.07.0/lib/ocaml, /Users/clojure/.opam/4.07.0/lib/ocaml/compiler-libs
ocamlfind ocamlc -package compiler-libs.common,compiler-libs.bytecomp -c astToBlock.ml
findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /Users/clojure/.opam/4.07.0/lib/ocaml, /Users/clojure/.opam/4.07.0/lib/ocaml/compiler-libs
ocamlfind ocamlc -package compiler-libs.common,compiler-libs.bytecomp -c my_parse.mli
findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /Users/clojure/.opam/4.07.0/lib/ocaml, /Users/clojure/.opam/4.07.0/lib/ocaml/compiler-libs
ocamlfind ocamlc -package compiler-libs.common,compiler-libs.bytecomp -c my_parse.ml
findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /Users/clojure/.opam/4.07.0/lib/ocaml, /Users/clojure/.opam/4.07.0/lib/ocaml/compiler-libs
ocamlfind ocamlc -package compiler-libs.common,compiler-libs.bytecomp -c my_compile.ml
findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /Users/clojure/.opam/4.07.0/lib/ocaml, /Users/clojure/.opam/4.07.0/lib/ocaml/compiler-libs
File "my_compile.ml", line 45, characters 4-152:
Error: This expression has type error:bool -> unit
but an expression was expected of type unit
because it is in the result of a conditional with no else branch
make[1]: *** [my_compile.cmo] Error 2
make: *** [byte-code] Error 2
➜ block_of_ocaml_3 git:(master)