astrada/gapi-ocaml — Issue #1: Can't compile
Author: pdonadeo
Created: 2011-11-21 20:55:15+00:00
State: open

I failed trying to compile the source (f741ddfe2d02e4f33f423229f93ffeb6e5470ab1), while following the instructions in README.

The error is this:

```
src $ ocamlbuild gdata/gdata.cma
Finished, 1 target (0 cached) in 00:00:00.
+ ocamlfind ocamlc -c -dtypes -w A -warn-error A -w e -warn-error e -w z -warn-error z -package extlib -package netstring -I gdata -o gdata/gdataAuth.cmo gdata/gdataAuth.ml
File "gdata/gdataAuth.ml", line 65, characters 13-37:
Warning 9: the following labels are not bound in this record pattern:
client_id, client_secret, refresh_token
Either bind these labels explicitly or add `; _' to the pattern.
File "gdata/gdataAuth.ml", line 1, characters 0-1:
Error: Error-enabled warnings (1 occurrences)
Command exited with code 2.
Compilation unsuccessful after building 68 targets (0 cached) in 00:00:03.
```

Actually in [line 65 of gdata/gdataAuth.ml](https://github.com/astrada/gapi-ocaml/blob/master/src/gdata/gdataAuth.ml#L65) an incomplete value of [type oauth2_data](https://github.com/astrada/gapi-ocaml/blob/master/src/gdata/gdataAuth.ml#L13) is created.