Use -g -warn-error.
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 27 Mar 2017 13:12:50 +0000 (14:12 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 27 Mar 2017 13:12:50 +0000 (14:12 +0100)
commit2ba6898b4dc121b00078e36d5416b3caadd5d05e
treeb8b71da6bbaeb16cc151bcbcdde9c4535b04236d
parent8853f5a49587f00a7d2a5c8c7e52480a16bbdb02
Use -g -warn-error.

Use -g for ocamlopt.  ocamlopt has supported generating DWARF
information for quite a long time.

Also use -warn-error with the same set of warnings as is used
by libguestfs.

Fix a warning in examples/get_cpu_stats.ml found by enabling
-warn-error.
examples/Makefile.in
examples/get_cpu_stats.ml
libvirt/Makefile.in