ocaml: Error on compiler warnings.
authorRichard Jones <rjones@redhat.com>
Tue, 9 Nov 2010 12:05:08 +0000 (12:05 +0000)
committerRichard Jones <rjones@redhat.com>
Tue, 9 Nov 2010 12:05:08 +0000 (12:05 +0000)
generator/Makefile.am

index cd1e1de..cb0a987 100644 (file)
@@ -54,7 +54,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