facebookarchive / pfff

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

Compile error with ocamlc #77

Closed FMCorz closed 10 years ago

FMCorz commented 10 years ago
ocamlc -g -thread -dtypes -w +A-4-29-6-45-41-44 -warn-error +a -bin-annot -absname   -I ../../commons -I ../../commons/ocollection -I ../../commons/ocamlextra -I ../../globals -I ../../external/ -I ../../h_program-lang -I ../../graph_code -I ../../h_version-control -I ../../h_visualization -I ../../globals -I ../parsing -I visual   -c graph_code_ml.mli
File "/home/fred/apps/pfff/lang_ml/analyze/graph_code_ml.mli", line 1:
Error: The files /home/fred/apps/pfff/commons/common.cmi
       and /home/fred/apps/pfff/h_program-lang/graph_code.cmi
       make inconsistent assumptions over interface Common
make[2]: *** [graph_code_ml.cmi] Error 2
make[2]: Leaving directory `/home/fred/apps/pfff/lang_ml/analyze'
make[1]: *** [rec] Error 1
make[1]: Leaving directory `/home/fred/apps/pfff'
make: *** [all] Error 2

On Ubuntu 12.04. I was trying to compile the most recent version, I am currently using v0.25.

aryx commented 10 years ago

Can you: make clean; make depend; make and see if you can reproduce?

FMCorz commented 10 years ago

Sweet, it worked! That might be worth mentioning that somewhere. Also, after compiling from 0.27.3, pfff -version returns 0.27