ocaml: Error on compiler warnings.
authorRichard Jones <rjones@redhat.com>
Tue, 9 Nov 2010 12:05:08 +0000 (12:05 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 18 Nov 2010 11:30:23 +0000 (11:30 +0000)
(cherry picked from commit bf3b9e2e236b4dd2216200993ba39545ad5160bb)

generator/Makefile.am

index f6dfd6b..ca5d615 100644 (file)
@@ -51,7 +51,7 @@ OBJECTS = $(SOURCES_ML:.ml=.cmo)
 
 EXTRA_DIST = $(SOURCES)
 
-OCAMLCFLAGS = -I +xml-light -I +../pkg-lib/xml-light
+OCAMLCFLAGS = -I +xml-light -I +../pkg-lib/xml-light -warn-error CDEFLMPSUVYZX
 OCAMLCLIBS = xml-light.cma unix.cma str.cma
 
 noinst_PROGRAM = generator