|
typo in decl. of timezone in Time.hsc?: msg#00006lang.haskell.glasgow.bugs
I think there may be a typo in libraries/base/System/Time.hsc. Right now lines 362-364 of Time.hsc are: #if !defined(mingw32_TARGET_OS) foreign import ccall unsafe "timezone" timezone :: Ptr CLong #endif I think the foreign import of "timezone" on line 363 is missing an ampersand. That is, I believe this should be: #if !defined(mingw32_TARGET_OS) foreign import ccall unsafe "&timezone" timezone :: Ptr CLong #endif This would make it consistent with the declaration on line 355, and would allow it to compile in my environment (building ghc as a cross-compiler for a target OS in which line 363 of Time.hsc gets compiled). -Antony
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: ANSIfication of hp2ps, Sven Panne |
|---|---|
| Next by Date: | [ ghc-Bugs-960029 ] Segmentation fault with Template Haskell, SourceForge.net |
| Previous by Thread: | ANSIfication of hp2ps, Nicholas Nethercote |
| Next by Thread: | Re: typo in decl. of timezone in Time.hsc?, Sven Panne |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |