Commits

camlspotter committed 76cada5

warning flag

Comments (0)

Files changed (2)

 PY_PREFIX=/usr
 PY_VERSION=2.7
 CFLAGS+= -fPIC -I $(OCAML_WHERE) -I $(PY_PREFIX)/include/python$(PY_VERSION)
-OCAMLFLAGS+= -warn-error A-31
+OCAMLFLAGS= -warn-error A-4-7-9-31 -w A
 
 # I (jfuruse) install camlidl using findlib, but not for the others.
 CAMLIDL_FINDLIB=$(OCAMLFIND_DESTDIR)/camlidl

tests/set_closure_string.ml

 let finalize = fun _ -> incr freed
 
 let f n = 
-  let f = fun args -> 
+  let f = fun _args -> 
     Format.eprintf "f(%d)@." n;
     Object.obj (Base.none ())
   in