facebookarchive / pfff

Tools for code analysis, visualizations, or style-preserving source transformation.
http://github.com/facebook/pfff/wiki/Main
Other
2.44k stars 204 forks source link

failed to build on MacOSX 10.10 on file 'utils_js.cmi' #130

Open truebit opened 9 years ago

truebit commented 9 years ago

Hi, I'm a totally newbie for ocaml.

my ocaml version is 4.02.3, opam version is 1.2.2. they were install by homebrew. configured with ./configure --novisual when trying to make, I got below error, please someone help.

ocamlc.opt -g -thread -dtypes -w +A-4-29-6-45-41-44-48 -warn-error +a -bin-annot -absname -I ../../commons -I ../../commons/ocollection -I ../../commons/ocamlextra -I ../../external/ -I ../../h_program-lang -I ../../h_version-control -I ../../globals -I ../parsing -c utils_js.mli File "/Users/test/Documents/tech/pfff/lang_js/analyze/utils_js.mli", line 5, characters 0-31: Warning 50: unattached documentation comment (ignored) File "/Users/test/Documents/tech/pfff/lang_js/analyze/utils_js.mli", line 6, characters 0-64: Warning 50: unattached documentation comment (ignored) File "/Users/test/Documents/tech/pfff/lang_js/analyze/utils_js.mli", line 1: Error: Some fatal warnings were triggered (2 occurrences) make[2]: * [utils_js.cmi] Error 2 make[1]: * [rec] Error 1 make: *\ [all] Error 2

truebit commented 9 years ago

this bug also exists in file lang_js/analyze/module_js.ml. After I replaced all (** **) to (* *), it passed the build.