Ticket #5 (closed: fixed)
gtk2hs-0.9.10 compilation fails with GHC 6.4.1 and 6.5.x
| Reported by: | geoffw@… | Owned by: | somebody |
|---|---|---|---|
| Priority: | blocker | Milestone: | 0.9.11 |
| Component: | general (Gtk+, Glib) | Version: | 0.9.10 |
| Keywords: | Cc: |
Description
I get the same sort of errors with either version of GHC
/usr/local/bin/ghc -c glib/System/Glib/hsgclosure.c -o glib/System/Glib/hsgclosure.o -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -optc-Werror-implicit-function-declaration -optc-g -optc-O2 glib/System/Glib/hsgclosure.c: In function ‘gtk2hs_closure_marshal’:
glib/System/Glib/hsgclosure.c:99:0:
warning: passing argument 1 of ‘rts_apply’ from incompatible pointer type
glib/System/Glib/hsgclosure.c:99:0:
error: too few arguments to function ‘rts_apply’
glib/System/Glib/hsgclosure.c:105:0:
warning: passing argument 1 of ‘rts_apply’ from incompatible pointer type
glib/System/Glib/hsgclosure.c:105:0:
error: too few arguments to function ‘rts_apply’
glib/System/Glib/hsgclosure.c:105:0:
warning: passing argument 2 of ‘rts_evalIO’ from incompatible pointer type
glib/System/Glib/hsgclosure.c:105:0:
error: too few arguments to function ‘rts_evalIO’
glib/System/Glib/hsgclosure.c:112:0:
error: incompatible type for argument 2 of ‘rts_checkSchedStatus’
glib/System/Glib/hsgclosure.c:121:0:
error: too few arguments to function ‘rts_unlock’
glib/System/Glib/hsgclosure.c: In function ‘gtk2hs_value_as_haskellobj’:
glib/System/Glib/hsgclosure.c:150:0:
error: too few arguments to function ‘rts_mkPtr’
glib/System/Glib/hsgclosure.c:154:0:
warning: passing argument 1 of ‘rts_mkChar’ makes pointer from integer without a cast
glib/System/Glib/hsgclosure.c:154:0:
error: too few arguments to function ‘rts_mkChar’
glib/System/Glib/hsgclosure.c:156:0:
warning: passing argument 1 of ‘rts_mkChar’ makes pointer from integer without a cast
glib/System/Glib/hsgclosure.c:156:0:
error: too few arguments to function ‘rts_mkChar’
glib/System/Glib/hsgclosure.c:158:0:
warning: passing argument 1 of ‘rts_mkBool’ makes pointer from integer without a cast
glib/System/Glib/hsgclosure.c:158:0:
error: too few arguments to function ‘rts_mkBool’
glib/System/Glib/hsgclosure.c:160:0:
warning: passing argument 1 of ‘rts_mkInt’ makes pointer from integer without a cast
glib/System/Glib/hsgclosure.c:160:0:
error: too few arguments to function ‘rts_mkInt’
glib/System/Glib/hsgclosure.c:162:0:
warning: passing argument 1 of ‘rts_mkWord’ makes pointer from integer without a cast
glib/System/Glib/hsgclosure.c:162:0:
error: too few arguments to function ‘rts_mkWord’
glib/System/Glib/hsgclosure.c:164:0:
warning: passing argument 1 of ‘rts_mkInt’ makes pointer from integer without a cast
glib/System/Glib/hsgclosure.c:164:0:
error: too few arguments to function ‘rts_mkInt’
glib/System/Glib/hsgclosure.c:166:0:
warning: passing argument 1 of ‘rts_mkWord’ makes pointer from integer without a cast
glib/System/Glib/hsgclosure.c:166:0:
error: too few arguments to function ‘rts_mkWord’
glib/System/Glib/hsgclosure.c:172:0:
warning: passing argument 1 of ‘rts_mkInt’ makes pointer from integer without a cast
glib/System/Glib/hsgclosure.c:172:0:
error: too few arguments to function ‘rts_mkInt’
glib/System/Glib/hsgclosure.c:174:0:
warning: passing argument 1 of ‘rts_mkWord’ makes pointer from integer without a cast
glib/System/Glib/hsgclosure.c:174:0:
error: too few arguments to function ‘rts_mkWord’
glib/System/Glib/hsgclosure.c:176:0:
error: incompatible type for argument 1 of ‘rts_mkFloat’
glib/System/Glib/hsgclosure.c:176:0:
error: too few arguments to function ‘rts_mkFloat’
glib/System/Glib/hsgclosure.c:178:0:
error: incompatible type for argument 1 of ‘rts_mkDouble’
glib/System/Glib/hsgclosure.c:178:0:
error: too few arguments to function ‘rts_mkDouble’
glib/System/Glib/hsgclosure.c:180:0:
warning: passing argument 1 of ‘rts_mkPtr’ from incompatible pointer type
glib/System/Glib/hsgclosure.c:180:0:
error: too few arguments to function ‘rts_mkPtr’
glib/System/Glib/hsgclosure.c:182:0:
error: too few arguments to function ‘rts_mkPtr’
glib/System/Glib/hsgclosure.c:184:0:
error: too few arguments to function ‘rts_mkPtr’
glib/System/Glib/hsgclosure.c:188:0:
error: too few arguments to function ‘rts_mkPtr’
make[1]: *** [glib/System/Glib/hsgclosure.o] Error 1 make[1]: Leaving directory `/usr/local/src/gtk2hs-0.9.10' make: *** [all] Error 2