Commits

camlspotter committed 5128e69

compiler warning flag cleaning

Comments (0)

Files changed (2)

 PY_PREFIX=/usr
 PY_VERSION=2.7
 CFLAGS+= -fPIC -I $(OCAML_WHERE) $(OPAM_CAMLIDL_INCLUDE) -I $(PY_PREFIX)/include/python$(PY_VERSION)
-OCAMLFLAGS= -warn-error A-4-9-31
+OCAMLWARNING_IGNORE[] += 7 33
+OCAMLWARNING_NON_ERROR[] += 7 33
 
 # I (jfuruse) install camlidl using findlib, but not for the others.
 CAMLIDL_FINDLIB=$(OCAMLFIND_DESTDIR)/camlidl
 OCAMLPACKS[] =
 	camlp4
 
-OCAMLINCLUDES +=
-
 NATIVE_ENABLED = $(OCAMLOPT_EXISTS)
 BYTE_ENABLED = true
 
-OCAMLCFLAGS   += -annot -w Ae-26
-OCAMLOPTFLAGS   += -annot -w Ae-26
-
-OCAMLPACKAGEFLAGS= 
-
 FILES[] =
 	oowrap