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.
Showing with 7 additions and 5 deletions