[Omake] Build fails with ocaml compile warnings
Hugo Ferreira
hmf at inescporto.pt
Thu Mar 22 11:32:47 PDT 2007
Hello,
I am preparing a camlp4 build and have a small test file. Ocaml
compilation of this file results in 4 warnings (see end of message). I
have tried using the "-k" flag but to no effect. My question is: is this
the expected behavior or is their another way to finish the build when
warnings occur.
TIA,
Hugo F.
ocamlfind ocamlc -package "oUnit,res" -warn-error A -g -g -pp "camlp4o
-I . pa_logic.cmo" -I . -I ../res_stck -I ../qalist -I ../term -I
../symbl_tbl -I ../compile -I ../parser-lexer -c test.ml
File "test.ml", line 52, characters 12-14:
Warning Y: unused variable t1.
File "test.ml", line 52, characters 20-23:
Warning S: this expression should have type unit.
File "test.ml", line 52, characters 26-34:
Warning S: this expression should have type unit.
File "test.ml", line 52, characters 36-44:
Warning S: this expression should have type unit.
More information about the Omake
mailing list