Time package broken with Windows and GHC Head
Mitchell, Neil
neil.mitchell.2 at credit-suisse.com
Mon Sep 15 04:17:06 EDT 2008
Hi,
Using GHC Head from Thursday, the Time package, as on Hackage, won't
compile on Windows XP. There are some errors:
In file included from cbits\HsTime.c:1:0:
include\HsTime.h:16:0: error: syntax error before "int"
cbits\HsTime.c: In function `get_current_timezone_seconds':
cbits\HsTime.c:10:0:
warning: implicit declaration of function `localtime'
cbits\HsTime.c:10:0:
warning: initialization makes pointer from integer without a cast
cbits\HsTime.c:14:0:
error: dereferencing pointer to incomplete type
cbits\HsTime.c:24:0:
error: `_tzname' undeclared (first use in this function)
cbits\HsTime.c:24:0:
error: (Each undeclared identifier is reported only once
cbits\HsTime.c:24:0: error: for each function it appears in.)
cbits\HsTime.c:25:0:
error: `_timezone' undeclared (first use in this function)
This is using a binary distribution, and using the darcs version of
time.
I don't know what these errors mean (or have time to investigate), and
Ashley doesn't really have access to Windows at the moment.
Thanks
Neil
==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer:
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================
More information about the Libraries
mailing list