ermine/sulci — pull request #1 by shizeeg (2012-03-13 20:24:45+00:00)
Title: Fix compilation error (tested on Arch Linux, OCaml 3.12.1, ocaml-findlib-1.2.7, ocamlnet-3.5.1)

# compilation log:

% ocaml setup.ml -build
I: Running command '/usr/bin/ocamlbuild sulci.native -tag debug'
Finished, 1 target (0 cached) in 00:00:02.
findlib: [WARNING] cannot read directory /usr/lib/ocaml/site-lib: No such file or directory
+ ocamlfind ocamlc -c -g -package ulex -package threads -package text -package sqlite3 -package pcre -package netclient -package json-static -package erm_xmpp -package erm_xml -package erm_strftime -package erm_scheduler -package erm_logger -package erm_dehtml -package erm_brainfuck -package dynlink -package dbm -thread -o http_suck.cmo http_suck.ml
File "http_suck.ml", line 41, characters 11-514:
Warning 8: this pattern-matching is not exhaustive.
Here is an example of a value that is not matched:
Immediate _
+ ocamlfind ocamlc -c -g -package ulex -package threads -package text -package sqlite3 -package pcre -package netclient -package json-static -package erm_xmpp -package erm_xml -package erm_strftime -package erm_scheduler -package erm_logger -package erm_dehtml -package erm_brainfuck -package dynlink -package dbm -syntax camlp4o -thread -o plugin_cerberus.cmo plugin_cerberus.ml
File "plugin_cerberus.ml", line 303, characters 12-625:
Warning 8: this pattern-matching is not exhaustive.
Here is an example of a value that is not matched:
Scold
+ ocamlfind ocamlc -c -g -package ulex -package threads -package text -package sqlite3 -package pcre -package netclient -package json-static -package erm_xmpp -package erm_xml -package erm_strftime -package erm_scheduler -package erm_logger -package erm_dehtml -package erm_brainfuck -package dynlink -package dbm -thread -o plugin_userinfo.cmo plugin_userinfo.ml
File "plugin_userinfo.ml", line 96, characters 17-273:
Error: Some record field labels are undefined: nanos
Command exited with code 2.
Compilation unsuccessful after building 114 targets (0 cached) in 00:02:21.
E: Command '/usr/bin/ocamlbuild sulci.native -tag debug' terminated with error code 10